Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 207.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009543/0.0009543, allocations: 96.75 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09842/0.09941, allocations: 56.89 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.1879, allocations: 51.48 MB / 394.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.4213, allocations: 90.05 MB / 484.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4216, allocations: 68.22 kB / 484.8 MB, free: 3.211 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.02719/0.4488, allocations: 10.17 MB / 495 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4488, allocations: 8 kB / 495 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.4489, allocations: 31.62 kB / 495 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.4495, allocations: 345.5 kB / 495.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.4495, allocations: 1.938 kB / 495.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.4495, allocations: 15.91 kB / 495.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000161/0.4497, allocations: 74.91 kB / 495.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.45, allocations: 204.6 kB / 495.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.45, allocations: 0 / 495.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.45, allocations: 8 kB / 495.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.45, allocations: 0 / 495.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.4508, allocations: 474.9 kB / 496.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.451, allocations: 154.6 kB / 496.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.4511, allocations: 48.16 kB / 496.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.4511, allocations: 4 kB / 496.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4511, allocations: 38.58 kB / 496.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.4511, allocations: 4 kB / 496.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003008/0.4515, allocations: 155.3 kB / 496.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4516, allocations: 290.6 kB / 496.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.4518, allocations: 238.2 kB / 497 MB, free: 8.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4519, allocations: 25.7 kB / 497.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.4519, allocations: 115.9 kB / 497.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.452, allocations: 51.02 kB / 497.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.452, allocations: 0 / 497.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4521, allocations: 346.2 kB / 497.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4523, allocations: 86.66 kB / 497.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4525, allocations: 168.9 kB / 497.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.4527, allocations: 110.3 kB / 497.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4527, allocations: 4 kB / 497.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004725/0.4532, allocations: 286.1 kB / 498.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4532, allocations: 4 kB / 498.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.4533, allocations: 7.938 kB / 498.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4533, allocations: 0 / 498.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.4536, allocations: 51.95 kB / 498.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.4536, allocations: 6.969 kB / 498.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4537, allocations: 19.75 kB / 498.3 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.4538, allocations: 11.81 kB / 498.3 MB, free: 7.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/0.4539, allocations: 109 kB / 498.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.4539, allocations: 35.55 kB / 498.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.454, allocations: 27.8 kB / 498.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.454, allocations: 0 / 498.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.454, allocations: 1.031 kB / 498.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.454, allocations: 3.984 kB / 498.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.4543, allocations: 236.8 kB / 498.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4543, allocations: 4 kB / 498.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.4545, allocations: 23.98 kB / 498.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4545, allocations: 4 kB / 498.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4545, allocations: 0 / 498.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4545, allocations: 4 kB / 498.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4545, allocations: 3.938 kB / 498.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003518/0.4549, allocations: 310 kB / 499 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005333/0.4554, allocations: 0.7546 MB / 499.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.4555, allocations: 103.2 kB / 499.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.4556, allocations: 4 kB / 499.9 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4557, allocations: 7.984 kB / 499.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4558, allocations: 17.08 kB / 499.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4558, allocations: 4 kB / 499.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001503/0.4559, allocations: 181.7 kB / 0.4884 GB, free: 5.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009508/0.4569, allocations: 87.86 kB / 0.4885 GB, free: 5.777 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002947/0.4572, allocations: 154.3 kB / 0.4886 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.4576, allocations: 271.1 kB / 0.4889 GB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4576, allocations: 0 / 0.4889 GB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.4577, allocations: 55.3 kB / 0.4889 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4581, allocations: 62.72 kB / 0.489 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.459, allocations: 436.1 kB / 0.4894 GB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.4594, allocations: 0.8136 MB / 0.4902 GB, free: 4.039 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4594, allocations: 3.938 kB / 0.4902 GB, free: 4.035 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)