Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.002835/0.002835, allocations: 180.6 kB / 7.459 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6831/0.6831, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009652, allocations: 96.44 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4656/0.4666, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.6652, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.991/5.657, allocations: 2.148 GB / 2.781 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/5.657, allocations: 87.95 kB / 2.781 GB, free: 74.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 3.575/9.232, allocations: 0.9569 GB / 3.738 GB, free: 83.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/9.232, allocations: 6.781 kB / 3.738 GB, free: 83.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/9.235, allocations: 0.5766 MB / 3.739 GB, free: 83.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/9.239, allocations: 1.384 MB / 3.74 GB, free: 82.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006517/9.24, allocations: 185 kB / 3.74 GB, free: 82.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/9.24, allocations: 73.02 kB / 3.741 GB, free: 82.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/9.242, allocations: 0.9658 MB / 3.742 GB, free: 82.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/9.244, allocations: 1.088 MB / 3.743 GB, free: 82.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/9.244, allocations: 9.359 kB / 3.743 GB, free: 82.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/9.244, allocations: 3.938 kB / 3.743 GB, free: 82.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/9.244, allocations: 47.59 kB / 3.743 GB, free: 82.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009119/9.253, allocations: 5.257 MB / 3.748 GB, free: 80.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/9.255, allocations: 0.7843 MB / 3.749 GB, free: 80.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/9.255, allocations: 420.4 kB / 3.749 GB, free: 80.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/9.256, allocations: 0.8453 MB / 3.75 GB, free: 79.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/9.257, allocations: 0.4904 MB / 3.75 GB, free: 79.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.577e-06/9.257, allocations: 0 / 3.75 GB, free: 79.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002844/9.26, allocations: 1.012 MB / 3.751 GB, free: 79.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/9.26, allocations: 121.2 kB / 3.751 GB, free: 79.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/9.262, allocations: 0.9005 MB / 3.752 GB, free: 79.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/9.262, allocations: 32.27 kB / 3.752 GB, free: 79.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/9.262, allocations: 444.8 kB / 3.753 GB, free: 79.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/9.262, allocations: 272.8 kB / 3.753 GB, free: 78.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/9.262, allocations: 0 / 3.753 GB, free: 78.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/9.263, allocations: 351.1 kB / 3.753 GB, free: 78.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/9.263, allocations: 386 kB / 3.754 GB, free: 78.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/9.264, allocations: 0.6936 MB / 3.754 GB, free: 78.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/9.265, allocations: 0.5188 MB / 3.755 GB, free: 78.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/9.265, allocations: 4.703 kB / 3.755 GB, free: 78.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002536/9.268, allocations: 1.226 MB / 3.756 GB, free: 78.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005771/9.268, allocations: 2.028 MB / 3.758 GB, free: 75.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/9.268, allocations: 7.812 kB / 3.758 GB, free: 75.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/9.268, allocations: 11.06 kB / 3.758 GB, free: 75.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/9.27, allocations: 367.7 kB / 3.758 GB, free: 75.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/9.271, allocations: 1.215 MB / 3.76 GB, free: 74.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/9.273, allocations: 208.1 kB / 3.76 GB, free: 74.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/9.273, allocations: 56.89 kB / 3.76 GB, free: 74.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/9.273, allocations: 7.094 kB / 3.76 GB, free: 74.76 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/9.275, allocations: 1.044 MB / 3.761 GB, free: 74.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/9.275, allocations: 10.72 kB / 3.761 GB, free: 74.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/9.275, allocations: 15.31 kB / 3.761 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/9.277, allocations: 343.9 kB / 3.761 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/9.277, allocations: 11.56 kB / 3.761 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/9.279, allocations: 192.7 kB / 3.761 GB, free: 74.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/9.279, allocations: 62.16 kB / 3.761 GB, free: 74.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003736/9.279, allocations: 143.4 kB / 3.762 GB, free: 74.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/9.279, allocations: 134.9 kB / 3.762 GB, free: 74.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/9.282, allocations: 1.148 MB / 3.763 GB, free: 74.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/9.282, allocations: 10 kB / 3.763 GB, free: 74.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/9.282, allocations: 3.328 kB / 3.763 GB, free: 74.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/9.282, allocations: 7.562 kB / 3.763 GB, free: 74.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/9.286, allocations: 2.575 MB / 3.765 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/9.286, allocations: 6.938 kB / 3.765 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/9.288, allocations: 255.7 kB / 3.766 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/9.288, allocations: 10.16 kB / 3.766 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/9.288, allocations: 22.69 kB / 3.766 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005189/9.288, allocations: 1.19 MB / 3.767 GB, free: 72.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/9.288, allocations: 7.375 kB / 3.767 GB, free: 72.82 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003024/9.291, allocations: 1.996 MB / 3.769 GB, free: 72.16 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004249/9.296, allocations: 3.059 MB / 3.772 GB, free: 71.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/9.297, allocations: 362 kB / 3.772 GB, free: 70.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/9.297, allocations: 7.797 kB / 3.772 GB, free: 70.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/9.298, allocations: 147.8 kB / 3.772 GB, free: 70.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/9.298, allocations: 74.28 kB / 3.772 GB, free: 70.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/9.299, allocations: 37.84 kB / 3.772 GB, free: 70.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001056/9.3, allocations: 0.6645 MB / 3.773 GB, free: 70.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005618/9.305, allocations: 1.487 MB / 3.774 GB, free: 70.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003917/9.309, allocations: 2.292 MB / 3.777 GB, free: 70.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00371/9.313, allocations: 1.672 MB / 3.778 GB, free: 69.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/9.313, allocations: 0 / 3.778 GB, free: 69.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/9.314, allocations: 0.5323 MB / 3.779 GB, free: 69.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/9.317, allocations: 0.5048 MB / 3.779 GB, free: 69.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/9.323, allocations: 2.091 MB / 3.781 GB, free: 69.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/9.324, allocations: 1.411 MB / 3.783 GB, free: 68.61 MB / 0.698 GB Notification: Performance of SimCode: time 4.759e-06/9.324, allocations: 0 / 3.783 GB, free: 68.61 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)