Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.003077/0.003078, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7138/0.7138, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.586/1.586, allocations: 221.3 MB / 395 MB, free: 10.17 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.001217/0.001217, allocations: 94.7 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5037/0.505, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.7287, allocations: 82.29 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.448/5.177, allocations: 1.693 GB / 2.326 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/5.177, allocations: 83.3 kB / 2.326 GB, free: 258.5 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1487/5.326, allocations: 61.18 MB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/5.326, allocations: 8 kB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/5.327, allocations: 218.5 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/5.329, allocations: 0.6113 MB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/5.329, allocations: 24 kB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/5.329, allocations: 47.94 kB / 2.387 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/5.33, allocations: 0.9679 MB / 2.388 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/5.331, allocations: 0.6928 MB / 2.389 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/5.331, allocations: 0 / 2.389 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/5.331, allocations: 4 kB / 2.389 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/5.331, allocations: 16 kB / 2.389 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/5.335, allocations: 2.274 MB / 2.391 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/5.336, allocations: 0.657 MB / 2.392 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/5.336, allocations: 250.8 kB / 2.392 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.549e-05/5.337, allocations: 36.59 kB / 2.392 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/5.337, allocations: 398 kB / 2.392 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/5.337, allocations: 0 / 2.392 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001654/5.339, allocations: 0.6755 MB / 2.393 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/5.339, allocations: 244 kB / 2.393 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/5.339, allocations: 0.5219 MB / 2.394 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/5.339, allocations: 25.7 kB / 2.394 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/5.34, allocations: 272.4 kB / 2.394 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/5.34, allocations: 232.5 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/5.34, allocations: 0 / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/5.34, allocations: 374.8 kB / 2.395 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/5.34, allocations: 197.3 kB / 2.395 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/5.341, allocations: 319.2 kB / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/5.341, allocations: 263 kB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/5.341, allocations: 0 / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001455/5.342, allocations: 0.695 MB / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/5.343, allocations: 8 kB / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/5.343, allocations: 0 / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/5.343, allocations: 80.88 kB / 2.396 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/5.344, allocations: 163.8 kB / 2.396 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/5.345, allocations: 1.461 MB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/5.346, allocations: 75.59 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/5.346, allocations: 31.98 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($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 (76): * Single equations (assignments): 75 * 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.0001632/5.346, allocations: 120.8 kB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/5.347, allocations: 75.06 kB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/5.349, allocations: 1.05 MB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/5.349, allocations: 8 kB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/5.349, allocations: 7.938 kB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/5.349, allocations: 7.984 kB / 2.399 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009352/5.35, allocations: 0.7554 MB / 2.4 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/5.35, allocations: 0 / 2.4 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/5.351, allocations: 159.8 kB / 2.4 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/5.351, allocations: 84.77 kB / 2.4 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/5.351, allocations: 15.98 kB / 2.4 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/5.353, allocations: 1.492 MB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/5.353, allocations: 144 / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/5.354, allocations: 0.7918 MB / 2.402 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001661/5.356, allocations: 1.206 MB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/5.357, allocations: 295.8 kB / 2.404 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/5.357, allocations: 8 kB / 2.404 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/5.357, allocations: 67.94 kB / 2.404 GB, free: 194 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/5.357, allocations: 52.69 kB / 2.404 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/5.358, allocations: 39.92 kB / 2.404 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005599/5.358, allocations: 427.1 kB / 2.404 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00203/5.36, allocations: 423.2 kB / 2.405 GB, free: 193.1 MB / 0.6823 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001887/5.362, allocations: 1.07 MB / 2.406 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001409/5.363, allocations: 0.6703 MB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/5.363, allocations: 3.938 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006766/5.364, allocations: 460.7 kB / 2.407 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/5.365, allocations: 222.6 kB / 2.407 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/5.369, allocations: 1.324 MB / 2.408 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/5.37, allocations: 1.119 MB / 2.409 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/5.37, allocations: 0 / 2.409 GB, free: 188.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)