Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",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.001077/0.001077, allocations: 183.5 kB / 8.138 MB, free: 2.223 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.1/1.1, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009122/0.0009123, allocations: 96.11 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0913/0.09225, allocations: 55.81 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.2618, allocations: 50.39 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07644/0.3382, allocations: 77.08 MB / 464.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.3385, allocations: 67.97 kB / 464.1 MB, free: 9.645 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0125/0.351, allocations: 4.075 MB / 468.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.351, allocations: 12 kB / 468.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3511, allocations: 17.56 kB / 468.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3512, allocations: 198 kB / 468.4 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3512, allocations: 4 kB / 468.4 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3513, allocations: 12.97 kB / 468.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002858/0.3516, allocations: 164.1 kB / 468.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.3518, allocations: 150.5 kB / 468.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3518, allocations: 0 / 468.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3519, allocations: 3.906 kB / 468.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3519, allocations: 4 kB / 468.8 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.3527, allocations: 0.5089 MB / 469.3 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.3529, allocations: 154.5 kB / 469.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.353, allocations: 86.8 kB / 469.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3531, allocations: 0 / 469.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3531, allocations: 34.5 kB / 469.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.3531, allocations: 0 / 469.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003378/0.3534, allocations: 177.4 kB / 469.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3535, allocations: 55.39 kB / 469.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3536, allocations: 134.1 kB / 469.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3536, allocations: 29.7 kB / 469.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3537, allocations: 104 kB / 470 MB, free: 3.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3537, allocations: 55.19 kB / 470.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.3537, allocations: 0 / 470.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.3538, allocations: 326.8 kB / 470.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.3539, allocations: 51.98 kB / 470.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.354, allocations: 90.53 kB / 470.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3542, allocations: 80.02 kB / 470.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3542, allocations: 0 / 470.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002963/0.3545, allocations: 194.7 kB / 470.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.3545, allocations: 4 kB / 470.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3545, allocations: 6.578 kB / 470.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3545, allocations: 1.562 kB / 470.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3548, allocations: 40.06 kB / 470.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3548, allocations: 4.562 kB / 470.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.355, allocations: 19.83 kB / 470.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.355, allocations: 11.92 kB / 470.9 MB, free: 2.695 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.135e-05/0.3551, allocations: 108.9 kB / 471 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3551, allocations: 15.81 kB / 471 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3555, allocations: 226.1 kB / 471.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3556, allocations: 0.9375 kB / 471.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3556, allocations: 3.906 kB / 471.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3556, allocations: 0 / 471.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.3558, allocations: 250 kB / 471.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3558, allocations: 0 / 471.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.3561, allocations: 49.03 kB / 471.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3561, allocations: 0 / 471.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3561, allocations: 0 / 471.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3561, allocations: 4 kB / 471.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3561, allocations: 0 / 471.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003349/0.3565, allocations: 303.3 kB / 471.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004029/0.3569, allocations: 0.6754 MB / 472.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3569, allocations: 92.86 kB / 472.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.357, allocations: 0 / 472.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3572, allocations: 13.3 kB / 472.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3572, allocations: 15.98 kB / 472.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3572, allocations: 7.984 kB / 472.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.104e-05/0.3573, allocations: 118.4 kB / 472.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008561/0.3582, allocations: 39.94 kB / 472.8 MB, free: 0.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001313/0.3583, allocations: 107.7 kB / 472.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.3586, allocations: 163.9 kB / 473.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3586, allocations: 0 / 473.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3587, allocations: 91.91 kB / 473.2 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3589, allocations: 15.84 kB / 473.2 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.3594, allocations: 223.5 kB / 473.4 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.3598, allocations: 0.7629 MB / 474.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3598, allocations: 3.938 kB / 474.2 MB, free: 15.3 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat