Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",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 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 184 kB / 7.803 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4894/0.4894, allocations: 90.85 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 342.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009798, allocations: 101.9 kB / 415.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.168, allocations: 78.44 MB / 494 MB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.5953, allocations: 72.3 MB / 0.553 GB, free: 73.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.113/3.709, allocations: 1.891 GB / 2.444 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/3.709, allocations: 87.94 kB / 2.444 GB, free: 182.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.8902/4.599, allocations: 324.1 MB / 2.761 GB, free: 93.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/4.599, allocations: 12 kB / 2.761 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/4.603, allocations: 0.5862 MB / 2.761 GB, free: 92.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/4.606, allocations: 2.262 MB / 2.763 GB, free: 90.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/4.606, allocations: 52 kB / 2.764 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/4.607, allocations: 99.91 kB / 2.764 GB, free: 90.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002636/4.609, allocations: 1.88 MB / 2.765 GB, free: 88.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/4.612, allocations: 1.593 MB / 2.767 GB, free: 86.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/4.612, allocations: 0 / 2.767 GB, free: 86.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/4.612, allocations: 0 / 2.767 GB, free: 86.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/4.612, allocations: 40 kB / 2.767 GB, free: 86.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009708/4.622, allocations: 6.095 MB / 2.773 GB, free: 80.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/4.624, allocations: 1.82 MB / 2.775 GB, free: 78.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/4.625, allocations: 0.6712 MB / 2.775 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/4.626, allocations: 0.7499 MB / 2.776 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/4.627, allocations: 0.8542 MB / 2.777 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.777e-06/4.627, allocations: 0 / 2.777 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.004026/4.631, allocations: 1.601 MB / 2.779 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/4.631, allocations: 256.6 kB / 2.779 GB, free: 74.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/4.634, allocations: 2.364 MB / 2.781 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/4.634, allocations: 29.7 kB / 2.781 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/4.635, allocations: 0.5809 MB / 2.782 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/4.635, allocations: 441.3 kB / 2.782 GB, free: 71.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/4.635, allocations: 0 / 2.782 GB, free: 71.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/4.635, allocations: 345.9 kB / 2.782 GB, free: 70.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/4.636, allocations: 490.4 kB / 2.783 GB, free: 70.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/4.637, allocations: 0.6865 MB / 2.784 GB, free: 69.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/4.638, allocations: 0.5713 MB / 2.784 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/4.638, allocations: 0 / 2.784 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003337/4.641, allocations: 1.538 MB / 2.786 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/4.641, allocations: 11.94 kB / 2.786 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/4.641, allocations: 4.062 kB / 2.786 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/4.642, allocations: 196.1 kB / 2.786 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/4.644, allocations: 311.6 kB / 2.786 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/4.648, allocations: 6.512 MB / 2.793 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/4.65, allocations: 135.2 kB / 2.793 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/4.65, allocations: 63.95 kB / 2.793 GB, free: 59.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003653/4.65, allocations: 140.6 kB / 2.793 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/4.651, allocations: 173.8 kB / 2.793 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/4.655, allocations: 2.02 MB / 2.795 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/4.656, allocations: 16 kB / 2.795 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/4.656, allocations: 0 / 2.795 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/4.656, allocations: 15.91 kB / 2.795 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/4.663, allocations: 3.879 MB / 2.799 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/4.663, allocations: 4 kB / 2.799 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/4.664, allocations: 323.6 kB / 2.799 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009339/4.665, allocations: 204.1 kB / 2.799 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/4.666, allocations: 31.97 kB / 2.799 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/4.67, allocations: 6.527 MB / 2.806 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/4.67, allocations: 4.125 kB / 2.806 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003235/4.673, allocations: 1.729 MB / 2.807 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003566/4.676, allocations: 2.198 MB / 2.81 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/4.678, allocations: 0.6584 MB / 2.81 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/4.678, allocations: 0 / 2.81 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/4.68, allocations: 119.8 kB / 2.81 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/4.68, allocations: 85.17 kB / 2.81 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/4.68, allocations: 87.94 kB / 2.81 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002338/4.683, allocations: 1.832 MB / 2.812 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003656/4.686, allocations: 0.9314 MB / 2.813 GB, free: 37.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/4.69, allocations: 1.733 MB / 2.815 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002701/4.692, allocations: 1.702 MB / 2.817 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/4.692, allocations: 0.6562 kB / 2.817 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/4.694, allocations: 1.212 MB / 2.818 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/4.696, allocations: 424 kB / 2.818 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/4.704, allocations: 3.018 MB / 2.821 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/4.706, allocations: 1.868 MB / 2.823 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/4.706, allocations: 0 / 2.823 GB, free: 27.99 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)