Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",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/BuildingSystems 2.0.0-master/package.mo): time 0.7086/0.7086, allocations: 141.8 MB / 149.1 MB, free: 4.504 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000992/0.0009919, allocations: 187.9 kB / 181.9 MB, free: 176 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.3 MB / 436 MB, free: 9.32 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 94.2 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 281.2 kB / 0.5884 GB, free: 12.35 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1746, allocations: 89.63 MB / 0.676 GB, free: 2.629 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.541, allocations: 82.75 MB / 0.7568 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.6446, allocations: 109.2 MB / 0.8634 GB, free: 3.668 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.6448, allocations: 71.94 kB / 0.8635 GB, free: 3.602 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.007607/0.6524, allocations: 2.593 MB / 0.866 GB, free: 1.004 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6524, allocations: 9.5 kB / 0.866 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.6525, allocations: 4 kB / 0.866 GB, free: 0.9922 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.6526, allocations: 171.9 kB / 0.8662 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6526, allocations: 4 kB / 0.8662 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.6526, allocations: 0.625 kB / 0.8662 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.605e-05/0.6527, allocations: 23.92 kB / 0.8662 GB, free: 0.7578 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.094e-05/0.6527, allocations: 38.41 kB / 0.8662 GB, free: 0.7148 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.6528, allocations: 0.7188 kB / 0.8662 GB, free: 0.7148 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6528, allocations: 4 kB / 0.8662 GB, free: 0.7109 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.6528, allocations: 0.625 kB / 0.8662 GB, free: 0.7109 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.6529, allocations: 138.7 kB / 0.8664 GB, free: 0.5391 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.653, allocations: 31.55 kB / 0.8664 GB, free: 0.5 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.653, allocations: 20.05 kB / 0.8664 GB, free: 492 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.6533, allocations: 182.8 kB / 0.8666 GB, free: 272 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.6533, allocations: 39.78 kB / 0.8666 GB, free: 224 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.6533, allocations: 0 / 0.8666 GB, free: 224 kB / 0.5263 GB Notification: Performance of matching and sorting (n=5): time 0.0002044/0.6535, allocations: 54.44 kB / 0.8667 GB, free: 164 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.6536, allocations: 51.41 kB / 0.8667 GB, free: 100 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.6536, allocations: 95.22 kB / 0.8668 GB, free: 0 / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.6536, allocations: 25.83 kB / 0.8669 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.6537, allocations: 88.06 kB / 0.8669 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.6537, allocations: 11.81 kB / 0.867 GB, free: 15.86 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.6537, allocations: 0.6562 kB / 0.867 GB, free: 15.86 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.6538, allocations: 315.6 kB / 0.8673 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.6538, allocations: 4.656 kB / 0.8673 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.6538, allocations: 4 kB / 0.8673 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.6539, allocations: 16.55 kB / 0.8673 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6539, allocations: 1.031 kB / 0.8673 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.6541, allocations: 61.53 kB / 0.8673 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.6541, allocations: 4 kB / 0.8673 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6541, allocations: 4.422 kB / 0.8673 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.6541, allocations: 0 / 0.8673 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.6542, allocations: 11.98 kB / 0.8674 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.6542, allocations: 0 / 0.8674 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.6542, allocations: 5.219 kB / 0.8674 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.6542, allocations: 0 / 0.8674 GB, free: 15.43 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 5.879e-05/0.6543, allocations: 102.3 kB / 0.8675 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.6543, allocations: 7.906 kB / 0.8675 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.6545, allocations: 91.39 kB / 0.8676 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6546, allocations: 0 / 0.8676 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6546, allocations: 0 / 0.8676 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6546, allocations: 0 / 0.8676 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.122e-05/0.6547, allocations: 146.1 kB / 0.8677 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6547, allocations: 0 / 0.8677 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.6547, allocations: 11.98 kB / 0.8677 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6547, allocations: 0 / 0.8677 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.6547, allocations: 4.312 kB / 0.8677 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6548, allocations: 4 kB / 0.8677 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6548, allocations: 4 kB / 0.8677 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001498/0.6549, allocations: 85.02 kB / 0.8678 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002433/0.6552, allocations: 469.4 kB / 0.8682 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.6552, allocations: 89.09 kB / 0.8683 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.6552, allocations: 3.906 kB / 0.8683 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.6553, allocations: 0 / 0.8683 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.6553, allocations: 3.984 kB / 0.8683 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.6553, allocations: 4 kB / 0.8683 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.935e-05/0.6553, allocations: 79.22 kB / 0.8684 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008554/0.6562, allocations: 47.8 kB / 0.8685 GB, free: 14.21 MB / 0.5419 GB 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 (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 Backend phase and start with SimCode phase: time 0.0002503/0.6565, allocations: 139.1 kB / 0.8686 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.6565, allocations: 28.03 kB / 0.8686 GB, free: 14.04 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.6565, allocations: 0 / 0.8686 GB, free: 14.04 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.6566, allocations: 16.84 kB / 0.8686 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.271e-05/0.6567, allocations: 0 / 0.8686 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.6569, allocations: 67.86 kB / 0.8687 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.6571, allocations: 0.6919 MB / 0.8694 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.6571, allocations: 0 / 0.8694 GB, free: 13.21 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)