Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.0009492/0.0009492, allocations: 192.1 kB / 7.804 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.123/1.123, 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.0009367/0.0009367, allocations: 87.62 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.1655/0.1655, allocations: 43.5 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1796/0.3452, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.6103, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.7216, allocations: 87.87 MB / 0.5513 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.7219, allocations: 79.45 kB / 0.5514 GB, free: 10.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01169/0.7336, allocations: 4.328 MB / 0.5556 GB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7336, allocations: 12 kB / 0.5556 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.7337, allocations: 15.81 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.734, allocations: 238.6 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.734, allocations: 4 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.7341, allocations: 11.91 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.41e-05/0.7342, allocations: 31.98 kB / 0.5559 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.7343, allocations: 88.25 kB / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7343, allocations: 4 kB / 0.556 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7344, allocations: 0 / 0.556 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7344, allocations: 4 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.7349, allocations: 0.4935 MB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.7351, allocations: 70.69 kB / 0.5565 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.7352, allocations: 36.78 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7352, allocations: 0 / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.7353, allocations: 71.39 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.7353, allocations: 0 / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001984/0.7355, allocations: 93.44 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.7356, allocations: 55.41 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.7357, allocations: 166.7 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.7358, allocations: 25.7 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.7358, allocations: 103.9 kB / 0.5571 GB, free: 4.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.7358, allocations: 27.66 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.7359, allocations: 4 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.736, allocations: 326.8 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.736, allocations: 20 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.7361, allocations: 52.3 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.7361, allocations: 35.86 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7361, allocations: 0 / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001727/0.7363, allocations: 117.5 kB / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7363, allocations: 6.812 kB / 0.5576 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7364, allocations: 4 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7364, allocations: 3.906 kB / 0.5576 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.7365, allocations: 27.92 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7365, allocations: 0 / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.7366, allocations: 20.05 kB / 0.5577 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.7366, allocations: 4 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.611e-05/0.7367, allocations: 114.4 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.7367, allocations: 11.81 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.7369, allocations: 103.1 kB / 0.5579 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.7369, allocations: 7.984 kB / 0.5579 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7369, allocations: 3.938 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.737, allocations: 4 kB / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.7371, allocations: 186.2 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7371, allocations: 4 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.7372, allocations: 19.98 kB / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7372, allocations: 0 / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.7372, allocations: 0 / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7372, allocations: 0 / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7373, allocations: 0 / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002476/0.7375, allocations: 160.8 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000355/0.7379, allocations: 0.5795 MB / 0.5588 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.7379, allocations: 85.02 kB / 0.5589 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.738, allocations: 7.906 kB / 0.5589 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.7381, allocations: 16.11 kB / 0.5589 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.7381, allocations: 11.98 kB / 0.559 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.7381, allocations: 0 / 0.559 GB, free: 2.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.7e-05/0.7382, allocations: 128.1 kB / 0.5591 GB, free: 2.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007976/0.739, allocations: 47.98 kB / 0.5591 GB, free: 2.691 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006225/0.7397, allocations: 303.8 kB / 0.5594 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.7398, allocations: 63.94 kB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7398, allocations: 0 / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.7399, allocations: 35.92 kB / 0.5595 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.7401, allocations: 35.38 kB / 0.5595 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.7406, allocations: 179.7 kB / 0.5597 GB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.7409, allocations: 0.7471 MB / 0.5604 GB, free: 1.316 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7409, allocations: 0 / 0.5604 GB, free: 1.316 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)