Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8974/0.8974, allocations: 141.8 MB / 149.1 MB, free: 3.734 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.001242/0.001242, allocations: 185.8 kB / 181.9 MB, free: 15.5 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.47/1.47, allocations: 221.3 MB / 436 MB, free: 8.695 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.001003/0.001003, allocations: 96.17 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 276.7 kB / 0.5884 GB, free: 11.71 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/0.189, allocations: 89.65 MB / 0.676 GB, free: 1.98 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.6357, allocations: 82.75 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.547/4.183, allocations: 1.69 GB / 2.447 GB, free: 76.52 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/4.183, allocations: 91.5 kB / 2.447 GB, free: 76.48 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1416/4.325, allocations: 61.18 MB / 2.507 GB, free: 21.37 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/4.325, allocations: 9.25 kB / 2.507 GB, free: 21.36 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/4.326, allocations: 222.5 kB / 2.507 GB, free: 21.14 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/4.328, allocations: 0.6036 MB / 2.508 GB, free: 20.49 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/4.328, allocations: 27.91 kB / 2.508 GB, free: 20.46 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/4.328, allocations: 43.94 kB / 2.508 GB, free: 20.42 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001501/4.329, allocations: 0.9679 MB / 2.509 GB, free: 19.45 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/4.331, allocations: 0.6851 MB / 2.51 GB, free: 18.72 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/4.331, allocations: 7.938 kB / 2.51 GB, free: 18.71 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/4.331, allocations: 0 / 2.51 GB, free: 18.71 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/4.331, allocations: 20 kB / 2.51 GB, free: 18.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/4.335, allocations: 2.275 MB / 2.512 GB, free: 16.36 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/4.335, allocations: 0.6453 MB / 2.513 GB, free: 15.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/4.336, allocations: 262.7 kB / 2.513 GB, free: 15.45 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/4.336, allocations: 32.67 kB / 2.513 GB, free: 15.41 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/4.336, allocations: 403.1 kB / 2.513 GB, free: 15 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/4.336, allocations: 0 / 2.513 GB, free: 15 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001736/4.338, allocations: 0.6794 MB / 2.514 GB, free: 14.31 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/4.338, allocations: 240 kB / 2.514 GB, free: 14.02 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/4.339, allocations: 0.5218 MB / 2.515 GB, free: 13.49 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/4.339, allocations: 25.7 kB / 2.515 GB, free: 13.46 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/4.339, allocations: 264.5 kB / 2.515 GB, free: 13.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/4.339, allocations: 236.4 kB / 2.515 GB, free: 12.96 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/4.339, allocations: 0 / 2.515 GB, free: 12.96 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/4.339, allocations: 378.8 kB / 2.515 GB, free: 12.58 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/4.34, allocations: 201.3 kB / 2.516 GB, free: 12.39 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/4.34, allocations: 315.2 kB / 2.516 GB, free: 12.04 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/4.341, allocations: 259.1 kB / 2.516 GB, free: 11.79 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/4.341, allocations: 0 / 2.516 GB, free: 11.79 MB / 0.6982 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001521/4.342, allocations: 0.699 MB / 2.517 GB, free: 11.09 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/4.342, allocations: 7.938 kB / 2.517 GB, free: 11.08 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/4.342, allocations: 0 / 2.517 GB, free: 11.08 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/4.343, allocations: 84.88 kB / 2.517 GB, free: 10.99 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/4.344, allocations: 151.8 kB / 2.517 GB, free: 10.84 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/4.345, allocations: 1.464 MB / 2.519 GB, free: 9.254 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/4.346, allocations: 75.59 kB / 2.519 GB, free: 9.18 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/4.346, allocations: 35.03 kB / 2.519 GB, free: 9.148 MB / 0.6982 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.0001688/4.346, allocations: 116.8 kB / 2.519 GB, free: 9.027 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/4.346, allocations: 75.06 kB / 2.519 GB, free: 8.953 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/4.349, allocations: 1.05 MB / 2.52 GB, free: 7.914 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/4.349, allocations: 12 kB / 2.52 GB, free: 7.902 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/4.349, allocations: 3.984 kB / 2.52 GB, free: 7.898 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/4.349, allocations: 3.984 kB / 2.52 GB, free: 7.895 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/4.35, allocations: 0.7477 MB / 2.521 GB, free: 7.109 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/4.35, allocations: 0 / 2.521 GB, free: 7.109 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/4.351, allocations: 171.7 kB / 2.521 GB, free: 6.941 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/4.351, allocations: 84.69 kB / 2.521 GB, free: 6.855 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/4.351, allocations: 23.98 kB / 2.521 GB, free: 6.832 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/4.353, allocations: 1.484 MB / 2.522 GB, free: 5.23 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/4.353, allocations: 0 / 2.522 GB, free: 5.23 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001547/4.355, allocations: 0.7919 MB / 2.523 GB, free: 4.414 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001652/4.356, allocations: 1.214 MB / 2.524 GB, free: 3.176 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/4.357, allocations: 283.8 kB / 2.525 GB, free: 2.879 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/4.357, allocations: 8 kB / 2.525 GB, free: 2.871 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/4.357, allocations: 63.94 kB / 2.525 GB, free: 2.809 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/4.358, allocations: 52.69 kB / 2.525 GB, free: 2.758 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/4.358, allocations: 35.98 kB / 2.525 GB, free: 2.723 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004675/4.358, allocations: 431 kB / 2.525 GB, free: 2.305 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001846/4.36, allocations: 423.2 kB / 2.526 GB, free: 1.891 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,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.001932/4.362, allocations: 1.082 MB / 2.527 GB, free: 0.9375 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001243/4.363, allocations: 0.6703 MB / 2.527 GB, free: 268 kB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/4.363, allocations: 0 / 2.527 GB, free: 268 kB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.3379/4.701, allocations: 462.6 kB / 2.528 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/4.702, allocations: 213.6 kB / 2.528 GB, free: 271.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/4.706, allocations: 1.346 MB / 2.529 GB, free: 271.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000743/4.707, allocations: 1.114 MB / 2.53 GB, free: 270.7 MB / 0.6982 GB Notification: Performance of SimCode: time 7.91e-07/4.707, allocations: 3.719 kB / 2.53 GB, free: 270.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)