Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001226/0.001226, allocations: 186 kB / 7.8 MB, free: 2.504 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.181/1.181, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009957/0.0009957, allocations: 95.2 kB / 261.4 MB, free: 13.62 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.1897/0.1897, allocations: 43.49 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/0.3804, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.663, allocations: 58.84 MB / 476.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.7817, allocations: 86.89 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.782, allocations: 75.47 kB / 0.5504 GB, free: 12.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01497/0.797, allocations: 5.449 MB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7971, allocations: 12 kB / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.7971, allocations: 11.81 kB / 0.5558 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.7974, allocations: 217 kB / 0.556 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7975, allocations: 0 / 0.556 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7975, allocations: 8 kB / 0.556 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.011e-05/0.7976, allocations: 19.98 kB / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.7977, allocations: 61.53 kB / 0.5561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7977, allocations: 0 / 0.5561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7977, allocations: 0 / 0.5561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7977, allocations: 0 / 0.5561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.7982, allocations: 269.4 kB / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.7983, allocations: 54.69 kB / 0.5564 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.7983, allocations: 20.98 kB / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.7984, allocations: 0 / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.7985, allocations: 63.34 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.7985, allocations: 0 / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004637/0.799, allocations: 125.3 kB / 0.5566 GB, free: 5.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.799, allocations: 51.41 kB / 0.5566 GB, free: 5.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.7992, allocations: 186.3 kB / 0.5568 GB, free: 5.324 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.7992, allocations: 33.64 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.7993, allocations: 92.12 kB / 0.5569 GB, free: 5.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.7993, allocations: 23.66 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.7993, allocations: 0 / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7995, allocations: 322.8 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.7995, allocations: 19.94 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.7996, allocations: 33.7 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.7996, allocations: 24 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7996, allocations: 0 / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001521/0.7998, allocations: 97.47 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.7998, allocations: 4 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7998, allocations: 0 / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7998, allocations: 7.938 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7999, allocations: 16.17 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.8, allocations: 7.938 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.8, allocations: 4 kB / 0.5574 GB, free: 4.621 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 (10): * Single equations (assignments): 10 * 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 8.064e-05/0.8001, allocations: 109 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8001, allocations: 11.81 kB / 0.5576 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.8004, allocations: 103 kB / 0.5577 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8004, allocations: 4 kB / 0.5577 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8004, allocations: 0 / 0.5577 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8004, allocations: 0 / 0.5577 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.8009, allocations: 379.8 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8009, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.8009, allocations: 8 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8009, allocations: 0 / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.801, allocations: 11.91 kB / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.801, allocations: 432 / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.801, allocations: 0 / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000212/0.8012, allocations: 217.9 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003138/0.8015, allocations: 0.5686 MB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.8016, allocations: 100.9 kB / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.8016, allocations: 0 / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.8017, allocations: 8 kB / 0.5589 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.8018, allocations: 3.984 kB / 0.5589 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8018, allocations: 11.94 kB / 0.5589 GB, free: 2.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001192/0.8019, allocations: 144.9 kB / 0.5591 GB, free: 2.836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008516/0.8028, allocations: 35.92 kB / 0.5591 GB, free: 2.801 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 (9): * Single equations (assignments): 7 * 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.000805/0.8036, allocations: 346.3 kB / 0.5594 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.8037, allocations: 51.94 kB / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8037, allocations: 0 / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.8038, allocations: 28 kB / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.8041, allocations: 31.73 kB / 0.5595 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.8045, allocations: 168.6 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.8049, allocations: 0.7347 MB / 0.5604 GB, free: 1.422 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.8049, allocations: 0 / 0.5604 GB, free: 1.422 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)