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: translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles") [: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.0009546/0.0009547, allocations: 189.5 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4325/0.4325, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.148/1.148, allocations: 221.4 MB / 342.8 MB, free: 5.258 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.0009502/0.0009504, allocations: 89.2 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.403e-06/7.504e-06, allocations: 0 / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 72.31 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.172/3.495, allocations: 1.891 GB / 2.444 GB, free: 183.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/3.495, allocations: 83.95 kB / 2.444 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.8656/4.36, allocations: 321.9 MB / 2.758 GB, free: 96.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001828/4.361, allocations: 55.83 kB / 2.758 GB, free: 96.94 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.003733/4.364, allocations: 2.168 MB / 2.761 GB, free: 94.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/4.364, allocations: 8.031 kB / 2.761 GB, free: 94.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/4.368, allocations: 0.5901 MB / 2.761 GB, free: 94.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/4.371, allocations: 2.25 MB / 2.763 GB, free: 91.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/4.371, allocations: 60 kB / 2.763 GB, free: 91.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/4.372, allocations: 103.9 kB / 2.764 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002713/4.374, allocations: 1.88 MB / 2.765 GB, free: 89.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/4.377, allocations: 1.589 MB / 2.767 GB, free: 88.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/4.377, allocations: 6.516 kB / 2.767 GB, free: 88.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/4.377, allocations: 0 / 2.767 GB, free: 88.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/4.377, allocations: 40 kB / 2.767 GB, free: 88.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008758/4.386, allocations: 6.09 MB / 2.773 GB, free: 81.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/4.388, allocations: 1.825 MB / 2.775 GB, free: 80.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/4.388, allocations: 0.6636 MB / 2.775 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/4.389, allocations: 0.7596 MB / 2.776 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/4.39, allocations: 0.862 MB / 2.777 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.126e-06/4.39, allocations: 0 / 2.777 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003562/4.394, allocations: 1.594 MB / 2.778 GB, free: 75.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/4.394, allocations: 255 kB / 2.779 GB, free: 75.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/4.397, allocations: 2.368 MB / 2.781 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/4.397, allocations: 25.7 kB / 2.781 GB, free: 73.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/4.397, allocations: 0.5809 MB / 2.782 GB, free: 72.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/4.397, allocations: 445.2 kB / 2.782 GB, free: 72.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/4.397, allocations: 4 kB / 2.782 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/4.397, allocations: 349.9 kB / 2.782 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/4.398, allocations: 494.4 kB / 2.783 GB, free: 71.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/4.399, allocations: 0.6826 MB / 2.784 GB, free: 70.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008026/4.4, allocations: 0.5674 MB / 2.784 GB, free: 70.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/4.4, allocations: 0 / 2.784 GB, free: 70.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002815/4.402, allocations: 1.541 MB / 2.786 GB, free: 68.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/4.403, allocations: 4 kB / 2.786 GB, free: 68.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/4.403, allocations: 0 / 2.786 GB, free: 68.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/4.404, allocations: 204.1 kB / 2.786 GB, free: 68.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/4.405, allocations: 315.6 kB / 2.786 GB, free: 68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/4.409, allocations: 6.504 MB / 2.792 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/4.411, allocations: 139.1 kB / 2.793 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/4.411, allocations: 67.95 kB / 2.793 GB, free: 60.71 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.0003531/4.411, allocations: 132.7 kB / 2.793 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/4.412, allocations: 177.8 kB / 2.793 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/4.416, allocations: 2.015 MB / 2.795 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/4.416, allocations: 16 kB / 2.795 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/4.416, allocations: 0 / 2.795 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/4.416, allocations: 7.969 kB / 2.795 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/4.422, allocations: 3.883 MB / 2.799 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/4.422, allocations: 0 / 2.799 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/4.423, allocations: 327.6 kB / 2.799 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000877/4.424, allocations: 204.1 kB / 2.799 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/4.424, allocations: 27.97 kB / 2.799 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/4.428, allocations: 6.533 MB / 2.806 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/4.428, allocations: 0 / 2.806 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002938/4.431, allocations: 1.726 MB / 2.807 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/4.432, allocations: 0.6583 MB / 2.808 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/4.433, allocations: 4 kB / 2.808 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/4.434, allocations: 119.7 kB / 2.808 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/4.434, allocations: 89.17 kB / 2.808 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/4.434, allocations: 79.95 kB / 2.808 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001913/4.436, allocations: 1.836 MB / 2.81 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002169/4.438, allocations: 0.7598 MB / 2.811 GB, free: 41.45 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.002309/4.441, allocations: 1.739 MB / 2.812 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002157/4.443, allocations: 1.706 MB / 2.814 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/4.443, allocations: 8.594 kB / 2.814 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/4.444, allocations: 1.212 MB / 2.815 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/4.446, allocations: 403.7 kB / 2.816 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/4.452, allocations: 3.021 MB / 2.819 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/4.454, allocations: 1.879 MB / 2.82 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/4.454, allocations: 0 / 2.82 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.2495/4.704, allocations: 39.11 MB / 2.859 GB, free: 171.8 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)