Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.7459/0.7459, allocations: 141.8 MB / 149.1 MB, free: 3.656 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.001263/0.001262, allocations: 185.6 kB / 181.9 MB, free: 15.42 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.413/1.413, allocations: 221.4 MB / 436 MB, free: 8.516 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.00103/0.00103, allocations: 100.6 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 282.4 kB / 0.5885 GB, free: 11.61 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2137/0.2156, allocations: 89.64 MB / 0.676 GB, free: 1.887 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.6936, allocations: 82.75 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.667/4.361, allocations: 1.69 GB / 2.447 GB, free: 84.62 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/4.361, allocations: 83.94 kB / 2.447 GB, free: 84.55 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.5994/4.961, allocations: 93.78 MB / 2.539 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/4.961, allocations: 8.781 kB / 2.539 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/4.963, allocations: 396.7 kB / 2.539 GB, free: 224.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/4.965, allocations: 1.022 MB / 2.54 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/4.966, allocations: 43.84 kB / 2.54 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/4.966, allocations: 82.47 kB / 2.54 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002689/4.968, allocations: 1.875 MB / 2.542 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/4.97, allocations: 1.271 MB / 2.543 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/4.97, allocations: 3.906 kB / 2.543 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/4.97, allocations: 3.938 kB / 2.543 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/4.971, allocations: 34.25 kB / 2.543 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/4.978, allocations: 4.289 MB / 2.547 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/4.98, allocations: 1.256 MB / 2.549 GB, free: 222.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/4.98, allocations: 471.1 kB / 2.549 GB, free: 222.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/4.98, allocations: 61.78 kB / 2.549 GB, free: 222.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/4.981, allocations: 0.6879 MB / 2.55 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=136): time 4.859e-06/4.981, allocations: 0.5625 kB / 2.55 GB, free: 222.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=136): time 0.003125/4.985, allocations: 1.236 MB / 2.551 GB, free: 222 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/4.985, allocations: 461.4 kB / 2.551 GB, free: 221.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/4.986, allocations: 0.9212 MB / 2.552 GB, free: 221.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/4.986, allocations: 25.7 kB / 2.552 GB, free: 221.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/4.986, allocations: 451.4 kB / 2.553 GB, free: 221.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/4.987, allocations: 434.5 kB / 2.553 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/4.987, allocations: 0 / 2.553 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/4.987, allocations: 355 kB / 2.554 GB, free: 220.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/4.987, allocations: 372.2 kB / 2.554 GB, free: 220.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/4.988, allocations: 0.5838 MB / 2.555 GB, free: 220.3 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/4.989, allocations: 496.3 kB / 2.555 GB, free: 220.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/4.989, allocations: 0 / 2.555 GB, free: 220.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003256/4.993, allocations: 1.27 MB / 2.556 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/4.993, allocations: 5.531 kB / 2.556 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/4.993, allocations: 7.125 kB / 2.556 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/4.994, allocations: 170.6 kB / 2.556 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/4.995, allocations: 271.5 kB / 2.557 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/4.998, allocations: 2.927 MB / 2.56 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/5, allocations: 134.3 kB / 2.56 GB, free: 217.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/5, allocations: 60.16 kB / 2.56 GB, free: 217.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003311/5, allocations: 130.1 kB / 2.56 GB, free: 217.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/5.001, allocations: 140.4 kB / 2.56 GB, free: 217.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/5.006, allocations: 1.885 MB / 2.562 GB, free: 217.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/5.006, allocations: 15.28 kB / 2.562 GB, free: 217.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/5.006, allocations: 3.562 kB / 2.562 GB, free: 217.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/5.006, allocations: 11.7 kB / 2.562 GB, free: 217.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/5.008, allocations: 1.322 MB / 2.563 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/5.008, allocations: 0 / 2.563 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/5.009, allocations: 280.8 kB / 2.563 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/5.01, allocations: 170.2 kB / 2.564 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/5.01, allocations: 32.11 kB / 2.564 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/5.014, allocations: 2.981 MB / 2.567 GB, free: 214.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/5.014, allocations: 4.5 kB / 2.567 GB, free: 214.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005102/5.019, allocations: 1.459 MB / 2.568 GB, free: 214.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004139/5.023, allocations: 1.888 MB / 2.57 GB, free: 213.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/5.024, allocations: 471.2 kB / 2.57 GB, free: 213.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005775/5.025, allocations: 6.594 kB / 2.57 GB, free: 213.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/5.026, allocations: 115.2 kB / 2.57 GB, free: 213.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/5.026, allocations: 100.5 kB / 2.57 GB, free: 213.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/5.027, allocations: 64.14 kB / 2.571 GB, free: 213.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001401/5.028, allocations: 0.714 MB / 2.571 GB, free: 213.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003127/5.031, allocations: 0.5818 MB / 2.572 GB, free: 213.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/5.034, allocations: 1.133 MB / 2.573 GB, free: 213.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002534/5.036, allocations: 1.274 MB / 2.574 GB, free: 212.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/5.036, allocations: 3.562 kB / 2.574 GB, free: 212.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/5.038, allocations: 0.8603 MB / 2.575 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/5.04, allocations: 428.4 kB / 2.575 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/5.048, allocations: 2.558 MB / 2.578 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/5.05, allocations: 1.51 MB / 2.579 GB, free: 211.1 MB / 0.6982 GB Notification: Performance of SimCode: time 1.312e-06/5.05, allocations: 0 / 2.579 GB, free: 211.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)