Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 289.8 MB / 297.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 172 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 0.6256 GB, free: 7.457 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 90.09 kB / 0.7396 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2461/0.2471, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.9106, allocations: 116.3 MB / 0.9727 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/5.166, allocations: 2.073 GB / 3.046 GB, free: 33.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/5.167, allocations: 88.52 kB / 3.046 GB, free: 33.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.6191/5.786, allocations: 64.38 MB / 3.109 GB, free: 317.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/5.786, allocations: 8.531 kB / 3.109 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/5.787, allocations: 228.5 kB / 3.109 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/5.788, allocations: 0.7769 MB / 3.11 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/5.788, allocations: 40.75 kB / 3.11 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/5.788, allocations: 50.91 kB / 3.11 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/5.79, allocations: 1.012 MB / 3.111 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/5.791, allocations: 0.7912 MB / 3.112 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/5.791, allocations: 2.625 kB / 3.112 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/5.791, allocations: 3.938 kB / 3.112 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/5.791, allocations: 22.94 kB / 3.112 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/5.795, allocations: 2.531 MB / 3.114 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/5.796, allocations: 0.6267 MB / 3.115 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/5.796, allocations: 239.8 kB / 3.115 GB, free: 315.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.513e-05/5.796, allocations: 25.55 kB / 3.115 GB, free: 315.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/5.797, allocations: 378.1 kB / 3.115 GB, free: 315.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.396e-06/5.797, allocations: 0 / 3.115 GB, free: 315.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001509/5.798, allocations: 0.6401 MB / 3.116 GB, free: 314.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/5.798, allocations: 239.6 kB / 3.116 GB, free: 314.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/5.799, allocations: 0.6068 MB / 3.117 GB, free: 314.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/5.799, allocations: 33.64 kB / 3.117 GB, free: 314.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/5.799, allocations: 357.2 kB / 3.117 GB, free: 314 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/5.799, allocations: 227.1 kB / 3.117 GB, free: 313.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/5.8, allocations: 3.156 kB / 3.117 GB, free: 313.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/5.8, allocations: 329.1 kB / 3.118 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/5.8, allocations: 189.4 kB / 3.118 GB, free: 313.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/5.8, allocations: 283.2 kB / 3.118 GB, free: 313.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/5.801, allocations: 233 kB / 3.118 GB, free: 313.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.801, allocations: 0 / 3.118 GB, free: 313.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001318/5.802, allocations: 0.6525 MB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/5.802, allocations: 2.5 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/5.802, allocations: 6.594 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/5.803, allocations: 85.45 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/5.803, allocations: 132.5 kB / 3.119 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/5.805, allocations: 1.464 MB / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/5.805, allocations: 58.92 kB / 3.121 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/5.805, allocations: 33.08 kB / 3.121 GB, free: 311.5 MB / 0.948 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.0001352/5.806, allocations: 124.3 kB / 3.121 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/5.806, allocations: 87.06 kB / 3.121 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/5.808, allocations: 0.9015 MB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/5.808, allocations: 8.219 kB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/5.808, allocations: 1.406 kB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/5.808, allocations: 10.23 kB / 3.122 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/5.809, allocations: 0.8186 MB / 3.123 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/5.809, allocations: 0 / 3.123 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/5.81, allocations: 135.4 kB / 3.123 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/5.81, allocations: 83.7 kB / 3.123 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/5.81, allocations: 14.52 kB / 3.123 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/5.812, allocations: 1.488 MB / 3.124 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.812, allocations: 4.625 kB / 3.124 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001654/5.813, allocations: 0.7511 MB / 3.125 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001679/5.815, allocations: 1.155 MB / 3.126 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/5.816, allocations: 286.2 kB / 3.126 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/5.816, allocations: 1.656 kB / 3.126 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/5.816, allocations: 59.83 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/5.816, allocations: 61.39 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/5.817, allocations: 27.19 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006539/5.817, allocations: 496.4 kB / 3.127 GB, free: 307.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001834/5.819, allocations: 398.6 kB / 3.127 GB, free: 307.6 MB / 0.948 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.002242/5.821, allocations: 1.008 MB / 3.128 GB, free: 307.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001248/5.823, allocations: 0.6258 MB / 3.129 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/5.823, allocations: 4.938 kB / 3.129 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007209/5.823, allocations: 432.5 kB / 3.129 GB, free: 306.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/5.825, allocations: 348.7 kB / 3.13 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/5.829, allocations: 1.514 MB / 3.131 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/5.83, allocations: 1.202 MB / 3.132 GB, free: 305.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/5.83, allocations: 3.938 kB / 3.132 GB, free: 305.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)