Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",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.001107/0.001108, allocations: 184.6 kB / 8.527 MB, free: 1.836 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.128/1.128, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009459/0.0009459, allocations: 82.17 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1548/0.1548, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1641/0.3189, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.4075, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.64, allocations: 85.58 MB / 0.5778 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.6402, allocations: 65.28 kB / 0.5778 GB, free: 11.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003466/0.6437, allocations: 1.602 MB / 0.5794 GB, free: 9.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.6437, allocations: 11.94 kB / 0.5794 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.6438, allocations: 11.91 kB / 0.5794 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.6439, allocations: 174.8 kB / 0.5796 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.6439, allocations: 8 kB / 0.5796 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.6439, allocations: 8 kB / 0.5796 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/0.6441, allocations: 53.34 kB / 0.5796 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.6442, allocations: 100.8 kB / 0.5797 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6442, allocations: 3.938 kB / 0.5797 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6442, allocations: 0 / 0.5797 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6443, allocations: 4 kB / 0.5797 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.6449, allocations: 0.685 MB / 0.5804 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.645, allocations: 169.1 kB / 0.5806 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.645, allocations: 80.14 kB / 0.5806 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.6451, allocations: 75.28 kB / 0.5807 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6451, allocations: 113.8 kB / 0.5808 GB, free: 7.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6451, allocations: 0 / 0.5808 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.432e-05/0.6452, allocations: 29.7 kB / 0.5809 GB, free: 7.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.6452, allocations: 51.41 kB / 0.5809 GB, free: 7.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.6453, allocations: 113.1 kB / 0.581 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.6453, allocations: 25.7 kB / 0.581 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.6454, allocations: 135.7 kB / 0.5812 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.6454, allocations: 0 / 0.5812 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.6454, allocations: 0 / 0.5812 GB, free: 7.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.6455, allocations: 317.7 kB / 0.5815 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.6455, allocations: 8 kB / 0.5815 GB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.6456, allocations: 42.41 kB / 0.5815 GB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.6456, allocations: 15.98 kB / 0.5815 GB, free: 7.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6456, allocations: 0 / 0.5815 GB, free: 7.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001282/0.6457, allocations: 69.47 kB / 0.5816 GB, free: 6.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.6457, allocations: 4 kB / 0.5816 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6458, allocations: 1.938 kB / 0.5816 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.6458, allocations: 4 kB / 0.5816 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.6458, allocations: 8 kB / 0.5816 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6459, allocations: 8.562 kB / 0.5816 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.6459, allocations: 7.875 kB / 0.5816 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.6459, allocations: 4 kB / 0.5816 GB, free: 6.953 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 7.573e-05/0.646, allocations: 185.3 kB / 0.5818 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.646, allocations: 108.9 kB / 0.5819 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.6461, allocations: 108.5 kB / 0.582 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.627e-05/0.6462, allocations: 184.2 kB / 0.5822 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-05/0.6462, allocations: 184.2 kB / 0.5824 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/0.6463, allocations: 180.2 kB / 0.5825 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.6465, allocations: 409.7 kB / 0.5829 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.6465, allocations: 101 kB / 0.583 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.6466, allocations: 101.4 kB / 0.5831 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-05/0.6466, allocations: 192.2 kB / 0.5833 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.6467, allocations: 182.3 kB / 0.5835 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.6468, allocations: 188.3 kB / 0.5837 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.475e-05/0.6468, allocations: 176.3 kB / 0.5838 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001178/0.6469, allocations: 315.5 kB / 0.5841 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002271/0.6472, allocations: 0.6681 MB / 0.5848 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.6473, allocations: 189.9 kB / 0.585 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.6473, allocations: 184.2 kB / 0.5851 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.6474, allocations: 105 kB / 0.5852 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.6475, allocations: 180.2 kB / 0.5854 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.6475, allocations: 101 kB / 0.5855 GB, free: 2.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.788e-05/0.6476, allocations: 87.28 kB / 0.5856 GB, free: 2.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008677/0.6484, allocations: 27.83 kB / 0.5856 GB, free: 2.637 MB / 394.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 (0): * Single equations (assignments): 0 * 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.0001047/0.6485, allocations: 166.5 kB / 0.5858 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.662e-05/0.6486, allocations: 24.3 kB / 0.5858 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6486, allocations: 0 / 0.5858 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.6486, allocations: 0 / 0.5858 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6489, allocations: 0.5185 MB / 0.5863 GB, free: 1.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.6491, allocations: 171.1 kB / 0.5865 GB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.6494, allocations: 0.7114 MB / 0.5872 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6494, allocations: 0 / 0.5872 GB, free: 0.9922 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat