Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",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/BuildSysPro 3.5.0/package.mo): time 0.7292/0.7292, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 185.2 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 81.86 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.343/0.3441, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.548, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/1.074, allocations: 104.7 MB / 0.7232 GB, free: 7.602 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.075, allocations: 87.94 kB / 0.7233 GB, free: 7.516 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02373/1.098, allocations: 7.831 MB / 0.731 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/1.098, allocations: 12 kB / 0.731 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/1.099, allocations: 47.67 kB / 0.731 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/1.1, allocations: 262.3 kB / 0.7313 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/1.1, allocations: 4 kB / 0.7313 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/1.1, allocations: 8 kB / 0.7313 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/1.101, allocations: 0.7334 MB / 0.732 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/1.101, allocations: 179.2 kB / 0.7322 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.101, allocations: 4 kB / 0.7322 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/1.101, allocations: 0 / 0.7322 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.101, allocations: 4 kB / 0.7322 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/1.103, allocations: 0.5245 MB / 0.7327 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/1.103, allocations: 280 kB / 0.733 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.103, allocations: 105.5 kB / 0.7331 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.929e-05/1.103, allocations: 20.25 kB / 0.7331 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/1.104, allocations: 161.8 kB / 0.7332 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.335e-06/1.104, allocations: 0 / 0.7332 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0005641/1.104, allocations: 261.1 kB / 0.7335 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.104, allocations: 85.11 kB / 0.7336 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/1.105, allocations: 246.1 kB / 0.7338 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.105, allocations: 25.7 kB / 0.7338 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/1.105, allocations: 96.78 kB / 0.7339 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.105, allocations: 110.3 kB / 0.734 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/1.105, allocations: 0 / 0.734 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.105, allocations: 334.8 kB / 0.7343 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.105, allocations: 79.92 kB / 0.7344 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.105, allocations: 105.8 kB / 0.7345 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/1.106, allocations: 103.8 kB / 0.7346 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.106, allocations: 0 / 0.7346 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005273/1.106, allocations: 257.8 kB / 0.7349 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.106, allocations: 4 kB / 0.7349 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.106, allocations: 3.938 kB / 0.7349 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.106, allocations: 4 kB / 0.7349 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/1.107, allocations: 63.89 kB / 0.7349 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.107, allocations: 7.906 kB / 0.7349 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/1.107, allocations: 19.84 kB / 0.735 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.107, allocations: 11.98 kB / 0.735 GB, free: 11.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.107, allocations: 106.3 kB / 0.7351 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/1.107, allocations: 27.62 kB / 0.7351 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/1.108, allocations: 376.6 kB / 0.7355 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.108, allocations: 4 kB / 0.7355 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.108, allocations: 0 / 0.7355 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.108, allocations: 11.92 kB / 0.7355 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/1.109, allocations: 289.8 kB / 0.7358 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.109, allocations: 7.938 kB / 0.7358 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/1.109, allocations: 55.97 kB / 0.7358 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.109, allocations: 0 / 0.7358 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/1.109, allocations: 11.98 kB / 0.7358 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/1.109, allocations: 8 kB / 0.7358 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.109, allocations: 3.938 kB / 0.7358 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006071/1.11, allocations: 298.4 kB / 0.7361 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008574/1.11, allocations: 0.6664 MB / 0.7368 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/1.111, allocations: 144.7 kB / 0.7369 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/1.111, allocations: 11.89 kB / 0.7369 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/1.111, allocations: 8 kB / 0.7369 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/1.111, allocations: 19.97 kB / 0.7369 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.111, allocations: 11.98 kB / 0.737 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002808/1.111, allocations: 206.8 kB / 0.7372 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001039/1.112, allocations: 63.92 kB / 0.7372 GB, free: 8.957 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009481/1.113, allocations: 322.7 kB / 0.7375 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005545/1.114, allocations: 220.5 kB / 0.7377 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.114, allocations: 0 / 0.7377 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/1.114, allocations: 123.8 kB / 0.7379 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.115, allocations: 19.17 kB / 0.7379 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.116, allocations: 403.7 kB / 0.7383 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/1.117, allocations: 0.8035 MB / 0.739 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/1.117, allocations: 0 / 0.739 GB, free: 7.094 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)