Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",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.6931/0.6931, allocations: 141.8 MB / 149.1 MB, free: 15.55 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 183.2 kB / 182 MB, free: 11.93 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 221.3 MB / 436 MB, free: 4.719 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.001005/0.001005, allocations: 99.66 kB / 0.507 GB, free: 18.83 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 276.9 kB / 0.5885 GB, free: 5.883 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.38/0.3818, allocations: 89.62 MB / 0.676 GB, free: 139 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.5221, allocations: 82.77 MB / 0.7568 GB, free: 86.95 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.6309, allocations: 109.4 MB / 0.8637 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6312, allocations: 73.81 kB / 0.8638 GB, free: 9.301 MB / 0.5419 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.009599/0.6408, allocations: 3.191 MB / 0.8669 GB, free: 6.062 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6408, allocations: 8 kB / 0.8669 GB, free: 6.055 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.6409, allocations: 0 / 0.8669 GB, free: 6.055 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.641, allocations: 170.9 kB / 0.867 GB, free: 5.848 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.641, allocations: 3.938 kB / 0.867 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.641, allocations: 0 / 0.867 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.217e-05/0.6411, allocations: 27.97 kB / 0.8671 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.6412, allocations: 41.62 kB / 0.8671 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6413, allocations: 4 kB / 0.8671 GB, free: 5.766 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6413, allocations: 4 kB / 0.8671 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6413, allocations: 0 / 0.8671 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.6414, allocations: 138.1 kB / 0.8672 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.681e-05/0.6415, allocations: 34.64 kB / 0.8673 GB, free: 5.547 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.6416, allocations: 12.98 kB / 0.8673 GB, free: 5.531 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.6417, allocations: 89.09 kB / 0.8674 GB, free: 5.426 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.6417, allocations: 34.5 kB / 0.8674 GB, free: 5.383 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.6418, allocations: 4 kB / 0.8674 GB, free: 5.379 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.04016/0.6819, allocations: 1.5 MB / 0.8689 GB, free: 3.871 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.682, allocations: 51.41 kB / 0.8689 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.6821, allocations: 93 kB / 0.869 GB, free: 3.711 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.6822, allocations: 25.7 kB / 0.869 GB, free: 3.68 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.6822, allocations: 84.27 kB / 0.8691 GB, free: 3.594 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.6823, allocations: 11.8 kB / 0.8691 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.6823, allocations: 0 / 0.8691 GB, free: 3.582 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.6825, allocations: 318.8 kB / 0.8694 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.6825, allocations: 4 kB / 0.8694 GB, free: 3.258 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.6826, allocations: 4 kB / 0.8694 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03986/0.7224, allocations: 1.467 MB / 0.8709 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.7225, allocations: 0 / 0.8709 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.03971/0.7622, allocations: 1.504 MB / 0.8723 GB, free: 280 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7623, allocations: 4 kB / 0.8723 GB, free: 276 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7623, allocations: 0 / 0.8723 GB, free: 276 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7623, allocations: 0 / 0.8723 GB, free: 276 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.7624, allocations: 15.92 kB / 0.8724 GB, free: 260 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7624, allocations: 4 kB / 0.8724 GB, free: 256 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.7625, allocations: 7.938 kB / 0.8724 GB, free: 248 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.7625, allocations: 0 / 0.8724 GB, free: 248 kB / 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 7.04e-05/0.7625, allocations: 101 kB / 0.8725 GB, free: 140 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.7626, allocations: 7.906 kB / 0.8725 GB, free: 132 kB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2412/1.004, allocations: 1.529 MB / 0.874 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.004, allocations: 7.438 kB / 0.874 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.004, allocations: 0 / 0.874 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.004, allocations: 0.5 kB / 0.874 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.004, allocations: 141.5 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.004, allocations: 2.938 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/1.004, allocations: 12.59 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.004, allocations: 2.844 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.004, allocations: 1.031 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.004, allocations: 2.344 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.004, allocations: 2.5 kB / 0.8741 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04024/1.044, allocations: 1.53 MB / 0.8756 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04007/1.084, allocations: 1.905 MB / 0.8775 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/1.085, allocations: 79.72 kB / 0.8776 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/1.085, allocations: 2.5 kB / 0.8776 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/1.085, allocations: 0.875 kB / 0.8776 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/1.085, allocations: 9.484 kB / 0.8776 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/1.085, allocations: 2.703 kB / 0.8776 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.692e-05/1.085, allocations: 78.72 kB / 0.8777 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000871/1.086, allocations: 56.41 kB / 0.8777 GB, free: 166.4 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.0003295/1.086, allocations: 160.5 kB / 0.8779 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001129/1.086, allocations: 31.44 kB / 0.8779 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.086, allocations: 0 / 0.8779 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/1.086, allocations: 15.81 kB / 0.8779 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/1.086, allocations: 1.844 kB / 0.8779 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/1.086, allocations: 63.41 kB / 0.878 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/1.087, allocations: 0.699 MB / 0.8787 GB, free: 165.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/1.087, allocations: 0 / 0.8787 GB, free: 165.6 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)