Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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 3.2.3+maint.om/package.mo): time 0.0009794/0.0009792, allocations: 179.8 kB / 8.476 MB, free: 0.5117 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.078/1.078, allocations: 205.2 MB / 214.1 MB, free: 8.586 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009943/0.0009942, allocations: 89 kB / 262.1 MB, free: 5.02 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.09543/0.09646, allocations: 52.98 MB / 315.1 MB, free: 1.84 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.1781, allocations: 47.57 MB / 362.6 MB, free: 2.148 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.3959, allocations: 76.31 MB / 438.9 MB, free: 11.24 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3962, allocations: 65.44 kB / 439 MB, free: 11.21 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.01102/0.4072, allocations: 4.9 MB / 443.9 MB, free: 7.125 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4073, allocations: 8 kB / 443.9 MB, free: 7.117 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.4073, allocations: 31.62 kB / 443.9 MB, free: 7.086 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4076, allocations: 254.8 kB / 444.2 MB, free: 6.816 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4076, allocations: 8 kB / 444.2 MB, free: 6.809 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.4077, allocations: 23.69 kB / 444.2 MB, free: 6.789 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002481/0.4079, allocations: 154.2 kB / 444.4 MB, free: 6.691 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4082, allocations: 205.5 kB / 444.6 MB, free: 6.535 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4083, allocations: 0 / 444.6 MB, free: 6.535 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4083, allocations: 0 / 444.6 MB, free: 6.535 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4083, allocations: 4 kB / 444.6 MB, free: 6.531 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.4095, allocations: 0.9729 MB / 445.6 MB, free: 5.676 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.4097, allocations: 110.2 kB / 445.7 MB, free: 5.602 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.4101, allocations: 219.5 kB / 445.9 MB, free: 5.434 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4101, allocations: 192 / 445.9 MB, free: 5.434 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4101, allocations: 38.56 kB / 445.9 MB, free: 5.391 MB / 322.8 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.4101, allocations: 0 / 445.9 MB, free: 5.391 MB / 322.8 MB Notification: Performance of matching and sorting (n=23): time 0.0008473/0.411, allocations: 0.5966 MB / 446.5 MB, free: 4.832 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.496e-05/0.411, allocations: 55.41 kB / 446.6 MB, free: 4.766 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4111, allocations: 157.7 kB / 446.7 MB, free: 4.621 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4111, allocations: 25.7 kB / 446.7 MB, free: 4.59 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.4112, allocations: 159.8 kB / 446.9 MB, free: 4.441 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4112, allocations: 82.25 kB / 447 MB, free: 4.371 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.4112, allocations: 0 / 447 MB, free: 4.371 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.4113, allocations: 334.1 kB / 447.3 MB, free: 4.043 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.4114, allocations: 54.94 kB / 447.4 MB, free: 4.012 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.4115, allocations: 77.14 kB / 447.4 MB, free: 3.957 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.4116, allocations: 72.84 kB / 447.5 MB, free: 3.914 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4116, allocations: 0 / 447.5 MB, free: 3.914 MB / 322.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003502/0.4119, allocations: 259.1 kB / 447.8 MB, free: 3.707 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4119, allocations: 8 kB / 447.8 MB, free: 3.699 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.412, allocations: 0 / 447.8 MB, free: 3.699 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4121, allocations: 63.2 kB / 447.8 MB, free: 3.648 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4123, allocations: 51.84 kB / 447.9 MB, free: 3.598 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.4136, allocations: 1.699 MB / 449.6 MB, free: 1.973 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4137, allocations: 7.984 kB / 449.6 MB, free: 1.965 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4137, allocations: 10.38 kB / 449.6 MB, free: 1.957 MB / 322.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.4138, allocations: 109.1 kB / 449.7 MB, free: 1.844 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4138, allocations: 19.72 kB / 449.7 MB, free: 1.824 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.4139, allocations: 22.88 kB / 449.7 MB, free: 1.816 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4139, allocations: 7.281 kB / 449.7 MB, free: 1.812 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4139, allocations: 0 / 449.7 MB, free: 1.812 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4139, allocations: 3.984 kB / 449.8 MB, free: 1.809 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.4146, allocations: 0.5956 MB / 450.3 MB, free: 1.277 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4146, allocations: 3.344 kB / 450.4 MB, free: 1.277 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4147, allocations: 35.92 kB / 450.4 MB, free: 1.242 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.4149, allocations: 70.94 kB / 450.5 MB, free: 1.184 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4149, allocations: 3.984 kB / 450.5 MB, free: 1.18 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.4161, allocations: 1.685 MB / 452.1 MB, free: 15.56 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4161, allocations: 4.094 kB / 452.1 MB, free: 15.55 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004872/0.4166, allocations: 408.2 kB / 452.5 MB, free: 15.22 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007238/0.4174, allocations: 0.8437 MB / 453.4 MB, free: 14.46 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.4174, allocations: 93.98 kB / 453.5 MB, free: 14.35 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4175, allocations: 0.5625 kB / 453.5 MB, free: 14.35 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4177, allocations: 11.98 kB / 453.5 MB, free: 14.34 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.4177, allocations: 13.86 kB / 453.5 MB, free: 14.33 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4177, allocations: 6.562 kB / 453.5 MB, free: 14.32 MB / 338.8 MB Notification: Performance of sort global known variables: time 9.804e-05/0.4178, allocations: 139.1 kB / 453.7 MB, free: 14.21 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0009431/0.4188, allocations: 67.98 kB / 453.7 MB, free: 14.14 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001298/0.4189, allocations: 107.7 kB / 453.8 MB, free: 14.03 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.4194, allocations: 286 kB / 454.1 MB, free: 13.79 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4194, allocations: 64 / 454.1 MB, free: 13.79 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.4197, allocations: 215.3 kB / 454.3 MB, free: 13.61 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.42, allocations: 26.17 kB / 454.3 MB, free: 13.59 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.4209, allocations: 0.5979 MB / 454.9 MB, free: 13.02 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.4213, allocations: 0.7953 MB / 455.7 MB, free: 12.2 MB / 338.8 MB Notification: Performance of SimCode: time 4.31e-07/0.4213, allocations: 0 / 455.7 MB, free: 12.2 MB / 338.8 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat