Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",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.7198/0.7198, allocations: 141.8 MB / 149.1 MB, free: 3.855 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.001099/0.001099, allocations: 176.1 kB / 181.9 MB, free: 15.6 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.234/1.234, allocations: 221.3 MB / 436 MB, free: 8.715 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.0009603/0.0009603, allocations: 103.7 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 276.7 kB / 0.5884 GB, free: 11.78 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1584/0.1603, allocations: 89.65 MB / 0.676 GB, free: 2.047 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.4803, allocations: 82.76 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.665/3.146, allocations: 1.692 GB / 2.448 GB, free: 72.83 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/3.146, allocations: 91.88 kB / 2.448 GB, free: 72.78 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.1427/3.289, allocations: 65.78 MB / 2.513 GB, free: 10.71 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/3.289, allocations: 9 kB / 2.513 GB, free: 10.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/3.29, allocations: 226.1 kB / 2.513 GB, free: 10.48 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/3.292, allocations: 0.7795 MB / 2.514 GB, free: 9.652 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/3.292, allocations: 32 kB / 2.514 GB, free: 9.621 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/3.292, allocations: 52 kB / 2.514 GB, free: 9.57 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001597/3.294, allocations: 1.03 MB / 2.515 GB, free: 8.539 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/3.295, allocations: 0.7975 MB / 2.516 GB, free: 7.699 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/3.295, allocations: 4 kB / 2.516 GB, free: 7.695 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/3.295, allocations: 0 / 2.516 GB, free: 7.695 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/3.295, allocations: 24 kB / 2.516 GB, free: 7.672 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/3.299, allocations: 2.57 MB / 2.518 GB, free: 5.047 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/3.3, allocations: 0.6183 MB / 2.519 GB, free: 4.414 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/3.3, allocations: 234.8 kB / 2.519 GB, free: 4.184 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/3.3, allocations: 36.67 kB / 2.519 GB, free: 4.148 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/3.301, allocations: 370 kB / 2.519 GB, free: 3.766 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=69): time 3.076e-06/3.301, allocations: 0 / 2.519 GB, free: 3.766 MB / 0.6982 GB Notification: Performance of matching and sorting (n=69): time 0.001528/3.302, allocations: 0.6402 MB / 2.52 GB, free: 3.117 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/3.302, allocations: 240 kB / 2.52 GB, free: 2.828 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/3.303, allocations: 0.6136 MB / 2.521 GB, free: 2.211 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/3.303, allocations: 29.7 kB / 2.521 GB, free: 2.176 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/3.303, allocations: 371.6 kB / 2.521 GB, free: 1.805 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/3.304, allocations: 212.8 kB / 2.521 GB, free: 1.594 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/3.304, allocations: 0 / 2.521 GB, free: 1.594 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/3.304, allocations: 334 kB / 2.522 GB, free: 1.262 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/3.304, allocations: 185.3 kB / 2.522 GB, free: 1.078 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/3.304, allocations: 286.4 kB / 2.522 GB, free: 0.7734 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/3.305, allocations: 235.1 kB / 2.522 GB, free: 0.543 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/3.305, allocations: 0 / 2.522 GB, free: 0.543 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.2085/3.513, allocations: 0.6443 MB / 2.523 GB, free: 274.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/3.513, allocations: 7.375 kB / 2.523 GB, free: 274.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/3.513, allocations: 3.562 kB / 2.523 GB, free: 274.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/3.514, allocations: 82.52 kB / 2.523 GB, free: 274.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/3.514, allocations: 137.5 kB / 2.523 GB, free: 274.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/3.516, allocations: 1.466 MB / 2.525 GB, free: 273.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/3.517, allocations: 60.36 kB / 2.525 GB, free: 273.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/3.517, allocations: 29.11 kB / 2.525 GB, free: 273.5 MB / 0.6982 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 (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000142/3.517, allocations: 113.8 kB / 2.525 GB, free: 273.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/3.517, allocations: 88.62 kB / 2.525 GB, free: 273.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/3.519, allocations: 0.9083 MB / 2.526 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/3.519, allocations: 8.094 kB / 2.526 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/3.519, allocations: 0 / 2.526 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/3.519, allocations: 8.297 kB / 2.526 GB, free: 273.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/3.52, allocations: 0.8314 MB / 2.527 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/3.52, allocations: 0 / 2.527 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/3.521, allocations: 140.5 kB / 2.527 GB, free: 273.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/3.521, allocations: 82.14 kB / 2.527 GB, free: 273.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/3.521, allocations: 17.12 kB / 2.527 GB, free: 273.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/3.523, allocations: 1.489 MB / 2.528 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/3.523, allocations: 0 / 2.528 GB, free: 271.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001297/3.524, allocations: 0.7488 MB / 2.529 GB, free: 271.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001376/3.525, allocations: 1.156 MB / 2.53 GB, free: 271.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/3.526, allocations: 288.5 kB / 2.53 GB, free: 271.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/3.526, allocations: 3.719 kB / 2.53 GB, free: 271.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/3.526, allocations: 62.95 kB / 2.53 GB, free: 271.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/3.526, allocations: 49.94 kB / 2.531 GB, free: 271.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/3.527, allocations: 28.52 kB / 2.531 GB, free: 271.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000515/3.527, allocations: 498.4 kB / 2.531 GB, free: 271 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001539/3.529, allocations: 431.2 kB / 2.531 GB, free: 271 MB / 0.6982 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/3.53, allocations: 1.049 MB / 2.532 GB, free: 270.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0009624/3.531, allocations: 0.6278 MB / 2.533 GB, free: 270.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/3.531, allocations: 11.39 kB / 2.533 GB, free: 270.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/3.532, allocations: 434.1 kB / 2.533 GB, free: 270.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/3.533, allocations: 347.9 kB / 2.534 GB, free: 270.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/3.536, allocations: 1.512 MB / 2.535 GB, free: 270.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/3.537, allocations: 1.203 MB / 2.536 GB, free: 269.6 MB / 0.6982 GB Notification: Performance of SimCode: time 5.71e-07/3.537, allocations: 0 / 2.536 GB, free: 269.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)