Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.00105/0.00105, allocations: 187.5 kB / 7.798 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 98.66 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1649/0.1649, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/0.352, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.5893, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.7083, allocations: 86.89 MB / 0.5503 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.7086, allocations: 75.47 kB / 0.5504 GB, free: 11.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01607/0.7247, allocations: 5.816 MB / 0.5561 GB, free: 6.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7247, allocations: 8 kB / 0.5561 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.7248, allocations: 19.81 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.7251, allocations: 221 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.7251, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.7251, allocations: 7.906 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/0.7253, allocations: 43.91 kB / 0.5564 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.7254, allocations: 69.66 kB / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7254, allocations: 0 / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7254, allocations: 0 / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7254, allocations: 0 / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.7258, allocations: 301.3 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.726, allocations: 78.61 kB / 0.5568 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.7261, allocations: 24.86 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.7261, allocations: 0 / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.7262, allocations: 75.39 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.7262, allocations: 0 / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000497/0.7267, allocations: 189.3 kB / 0.5571 GB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7268, allocations: 55.41 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.727, allocations: 170.4 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.727, allocations: 33.7 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.727, allocations: 88.31 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.7271, allocations: 31.56 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.7271, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7272, allocations: 326.8 kB / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.7273, allocations: 31.98 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.7273, allocations: 45.59 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.7274, allocations: 39.91 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7274, allocations: 0 / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002052/0.7276, allocations: 125.5 kB / 0.558 GB, free: 3.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7277, allocations: 7.938 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7277, allocations: 4.031 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7277, allocations: 4 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7278, allocations: 19.98 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7278, allocations: 0 / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.7279, allocations: 4 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.7279, allocations: 0 / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.9e-05/0.728, allocations: 108.9 kB / 0.5581 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.728, allocations: 7.906 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.7283, allocations: 171.1 kB / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7283, allocations: 0 / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7283, allocations: 0 / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7283, allocations: 0 / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.7288, allocations: 435.7 kB / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7288, allocations: 0 / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.7289, allocations: 19.98 kB / 0.5587 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7289, allocations: 4 kB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7289, allocations: 4.031 kB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7289, allocations: 0 / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7289, allocations: 4 kB / 0.5587 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002219/0.7291, allocations: 237.8 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003248/0.7295, allocations: 0.6116 MB / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.7295, allocations: 92.92 kB / 0.5597 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.7296, allocations: 3.984 kB / 0.5597 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.7297, allocations: 4 kB / 0.5597 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.7297, allocations: 11.98 kB / 0.5597 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7297, allocations: 4 kB / 0.5597 GB, free: 2.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001085/0.7298, allocations: 144.9 kB / 0.5598 GB, free: 1.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008493/0.7307, allocations: 28 kB / 0.5598 GB, free: 1.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007289/0.7314, allocations: 356.2 kB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.7316, allocations: 87.92 kB / 0.5603 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7316, allocations: 3.938 kB / 0.5603 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.7317, allocations: 40 kB / 0.5603 GB, free: 1.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.732, allocations: 27.75 kB / 0.5603 GB, free: 1.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.7324, allocations: 183.8 kB / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.7327, allocations: 0.7427 MB / 0.5612 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7327, allocations: 0 / 0.5612 GB, free: 0.4961 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)