Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 182 kB / 8.129 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.4 MB / 229.9 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 103.1 kB / 280.8 MB, free: 1.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09809/0.09905, allocations: 55.81 MB / 336.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.3074, allocations: 50.39 MB / 387 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09606/0.4035, allocations: 89.24 MB / 476.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4038, allocations: 75.89 kB / 476.3 MB, free: 13.53 MB / 362.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.02756/0.4313, allocations: 10.11 MB / 486.4 MB, free: 3.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4314, allocations: 12 kB / 486.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.4315, allocations: 31.62 kB / 486.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.432, allocations: 354.8 kB / 486.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4321, allocations: 4 kB / 486.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4321, allocations: 11.91 kB / 486.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001588/0.4323, allocations: 76.34 kB / 486.9 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4325, allocations: 198.2 kB / 487.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4325, allocations: 0 / 487.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4326, allocations: 0 / 487.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4326, allocations: 7.938 kB / 487.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.4333, allocations: 465.4 kB / 487.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.4335, allocations: 166.4 kB / 487.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.4336, allocations: 57.72 kB / 487.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.4337, allocations: 0 / 487.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4337, allocations: 34.56 kB / 487.8 MB, free: 1.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.4337, allocations: 0 / 487.8 MB, free: 1.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002935/0.434, allocations: 157.5 kB / 488 MB, free: 1.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.4341, allocations: 286.7 kB / 488.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.4343, allocations: 235.5 kB / 488.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4344, allocations: 25.8 kB / 488.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.4344, allocations: 128.3 kB / 488.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4345, allocations: 43.36 kB / 488.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4345, allocations: 0 / 488.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4347, allocations: 342.7 kB / 489 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4348, allocations: 87.97 kB / 489.1 MB, free: 500 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.435, allocations: 168.9 kB / 489.3 MB, free: 300 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.4352, allocations: 115.9 kB / 489.4 MB, free: 184 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4352, allocations: 0 / 489.4 MB, free: 184 kB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000465/0.4357, allocations: 277.2 kB / 489.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4357, allocations: 4 kB / 489.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.4358, allocations: 15.98 kB / 489.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4358, allocations: 8 kB / 489.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.4361, allocations: 47.97 kB / 489.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4361, allocations: 3.938 kB / 489.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4362, allocations: 28.7 kB / 489.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4363, allocations: 4 kB / 489.7 MB, free: 15.79 MB / 378.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 8.685e-05/0.4364, allocations: 107.9 kB / 489.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4364, allocations: 27.72 kB / 489.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.4365, allocations: 33.81 kB / 489.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4365, allocations: 0 / 489.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4365, allocations: 0 / 489.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4365, allocations: 4 kB / 489.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4368, allocations: 238 kB / 490.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4368, allocations: 0 / 490.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.437, allocations: 28.03 kB / 490.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.437, allocations: 4.781 kB / 490.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.437, allocations: 7.984 kB / 490.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.437, allocations: 4 kB / 490.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.437, allocations: 0 / 490.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003591/0.4374, allocations: 311 kB / 490.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005329/0.438, allocations: 0.7565 MB / 491.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.438, allocations: 100.8 kB / 491.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.4381, allocations: 4 kB / 491.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4382, allocations: 4 kB / 491.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.4383, allocations: 12.83 kB / 491.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4383, allocations: 4 kB / 491.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001527/0.4384, allocations: 179 kB / 491.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009918/0.4394, allocations: 92.11 kB / 491.6 MB, free: 13.81 MB / 378.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.0003631/0.4398, allocations: 159.1 kB / 491.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.4402, allocations: 269 kB / 492.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4402, allocations: 0 / 492.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.4403, allocations: 51.98 kB / 492.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.4407, allocations: 61.97 kB / 492.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.4417, allocations: 447.4 kB / 492.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.4421, allocations: 0.8099 MB / 493.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4421, allocations: 0 / 493.4 MB, free: 11.95 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)