Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.00142/0.00142, allocations: 193.8 kB / 7.803 MB, free: 2.449 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.302/1.302, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009784/0.0009784, allocations: 95.89 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.1967/0.1967, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2083/0.4051, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.6972, allocations: 58.83 MB / 476.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.8283, allocations: 87.54 MB / 0.551 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.8286, allocations: 79.12 kB / 0.551 GB, free: 11.36 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02508/0.8537, allocations: 9.262 MB / 0.5601 GB, free: 2.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.8537, allocations: 8 kB / 0.5601 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.8538, allocations: 55.25 kB / 0.5601 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.8546, allocations: 490.8 kB / 0.5606 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.8546, allocations: 8 kB / 0.5606 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.8546, allocations: 8 kB / 0.5606 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001918/0.8548, allocations: 79.97 kB / 0.5607 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.8551, allocations: 135 kB / 0.5608 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.8551, allocations: 7.906 kB / 0.5608 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.8551, allocations: 0 / 0.5608 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.8551, allocations: 0 / 0.5608 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.8562, allocations: 0.7273 MB / 0.5615 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.8564, allocations: 113.2 kB / 0.5617 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.8565, allocations: 49.78 kB / 0.5617 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.8565, allocations: 4.203 kB / 0.5617 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.8566, allocations: 38.56 kB / 0.5617 GB, free: 192 kB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.8566, allocations: 3.938 kB / 0.5617 GB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001537/0.8581, allocations: 0.5799 MB / 0.5623 GB, free: 15.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8582, allocations: 85.05 kB / 0.5624 GB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.8591, allocations: 0.7688 MB / 0.5631 GB, free: 14.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8591, allocations: 25.7 kB / 0.5632 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.8592, allocations: 152.4 kB / 0.5633 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.8593, allocations: 67 kB / 0.5634 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.8593, allocations: 0 / 0.5634 GB, free: 14.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8595, allocations: 370.8 kB / 0.5637 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.8596, allocations: 71.97 kB / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.8598, allocations: 101.3 kB / 0.5639 GB, free: 13.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.8599, allocations: 83.89 kB / 0.564 GB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.8599, allocations: 0 / 0.564 GB, free: 13.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004204/0.8604, allocations: 264.7 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8604, allocations: 8 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8604, allocations: 0 / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8604, allocations: 0 / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.8608, allocations: 67.95 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8608, allocations: 0 / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.861, allocations: 35.97 kB / 0.5643 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.8611, allocations: 4 kB / 0.5643 GB, free: 13.46 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.271e-05/0.8611, allocations: 114.2 kB / 0.5645 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.8613, allocations: 59.25 kB / 0.5645 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.8619, allocations: 334.4 kB / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8619, allocations: 4 kB / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.8619, allocations: 3.984 kB / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8619, allocations: 0 / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.8632, allocations: 0.9079 MB / 0.5657 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8632, allocations: 7.906 kB / 0.5657 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.8635, allocations: 63.95 kB / 0.5658 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8635, allocations: 8.312 kB / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8636, allocations: 4 kB / 0.5658 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.8636, allocations: 8 kB / 0.5658 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8636, allocations: 7.922 kB / 0.5658 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005251/0.8641, allocations: 447.7 kB / 0.5662 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006447/0.8648, allocations: 0.832 MB / 0.5671 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.865, allocations: 176.4 kB / 0.5672 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.8651, allocations: 4 kB / 0.5672 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.8654, allocations: 31.97 kB / 0.5673 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.8655, allocations: 19.89 kB / 0.5673 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.8655, allocations: 7.984 kB / 0.5673 GB, free: 10.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006778/0.8662, allocations: 0.6045 MB / 0.5679 GB, free: 9.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009743/0.8672, allocations: 76 kB / 0.5679 GB, free: 9.648 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0006859/0.8679, allocations: 305 kB / 0.5682 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.8682, allocations: 187.9 kB / 0.5684 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8683, allocations: 4 kB / 0.5684 GB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.8685, allocations: 103.9 kB / 0.5685 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.869, allocations: 66.53 kB / 0.5686 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.8704, allocations: 0.7727 MB / 0.5693 GB, free: 8.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.8711, allocations: 0.9501 MB / 0.5703 GB, free: 7.254 MB / 410.7 MB Notification: Performance of SimCode: time 2.244e-06/0.8711, allocations: 4 kB / 0.5703 GB, free: 7.25 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1)