Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.7664/0.7664, allocations: 141.8 MB / 149.1 MB, free: 1.461 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.001239/0.001239, allocations: 194 kB / 182 MB, free: 13.55 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.452/1.452, allocations: 221.3 MB / 436 MB, free: 6.363 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.001016/0.001016, allocations: 97.09 kB / 0.507 GB, free: 24.7 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00287/0.00287, allocations: 285.8 kB / 0.5885 GB, free: 9.773 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2386/0.2416, allocations: 89.64 MB / 0.676 GB, free: 36 kB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.8189, allocations: 82.76 MB / 0.7568 GB, free: 110.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.124/4.943, allocations: 1.692 GB / 2.449 GB, free: 99.52 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004454/4.943, allocations: 103.6 kB / 2.449 GB, free: 99.43 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.1657/5.109, allocations: 71.36 MB / 2.519 GB, free: 27.83 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/5.109, allocations: 11.98 kB / 2.519 GB, free: 27.82 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/5.11, allocations: 206.4 kB / 2.519 GB, free: 27.62 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/5.112, allocations: 0.658 MB / 2.519 GB, free: 26.92 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/5.112, allocations: 28 kB / 2.52 GB, free: 26.89 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/5.112, allocations: 56 kB / 2.52 GB, free: 26.84 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/5.114, allocations: 1.066 MB / 2.521 GB, free: 25.77 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/5.115, allocations: 0.8248 MB / 2.521 GB, free: 24.91 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/5.116, allocations: 0 / 2.521 GB, free: 24.91 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/5.116, allocations: 3.938 kB / 2.521 GB, free: 24.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/5.116, allocations: 27.91 kB / 2.521 GB, free: 24.88 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/5.121, allocations: 2.681 MB / 2.524 GB, free: 22.11 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/5.122, allocations: 0.6941 MB / 2.525 GB, free: 21.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/5.122, allocations: 270.7 kB / 2.525 GB, free: 21.13 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/5.122, allocations: 40.58 kB / 2.525 GB, free: 21.09 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005481/5.123, allocations: 406 kB / 2.525 GB, free: 20.68 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=80): time 3.306e-06/5.123, allocations: 0 / 2.525 GB, free: 20.68 MB / 0.6982 GB Notification: Performance of matching and sorting (n=80): time 0.00195/5.125, allocations: 0.7263 MB / 2.526 GB, free: 19.95 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/5.125, allocations: 248 kB / 2.526 GB, free: 19.65 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/5.126, allocations: 0.5102 MB / 2.527 GB, free: 19.13 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/5.126, allocations: 25.7 kB / 2.527 GB, free: 19.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/5.126, allocations: 340 kB / 2.527 GB, free: 18.76 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/5.126, allocations: 256.2 kB / 2.527 GB, free: 18.51 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/5.126, allocations: 0 / 2.527 GB, free: 18.51 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/5.126, allocations: 382.7 kB / 2.528 GB, free: 18.12 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/5.127, allocations: 205.5 kB / 2.528 GB, free: 17.93 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/5.127, allocations: 319.5 kB / 2.528 GB, free: 17.58 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/5.128, allocations: 304.3 kB / 2.529 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/5.128, allocations: 0 / 2.529 GB, free: 17.29 MB / 0.6982 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001727/5.129, allocations: 0.7446 MB / 2.529 GB, free: 16.53 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/5.129, allocations: 6.812 kB / 2.529 GB, free: 16.53 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/5.129, allocations: 4 kB / 2.529 GB, free: 16.52 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/5.13, allocations: 80.84 kB / 2.529 GB, free: 16.44 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/5.131, allocations: 163.8 kB / 2.53 GB, free: 16.28 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/5.132, allocations: 1.45 MB / 2.531 GB, free: 14.71 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/5.133, allocations: 71.59 kB / 2.531 GB, free: 14.64 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/5.133, allocations: 27.98 kB / 2.531 GB, free: 14.61 MB / 0.6982 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 (84): * Single equations (assignments): 83 * 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.0001826/5.133, allocations: 116.8 kB / 2.531 GB, free: 14.49 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/5.134, allocations: 83 kB / 2.531 GB, free: 14.41 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/5.136, allocations: 1.06 MB / 2.532 GB, free: 13.36 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/5.136, allocations: 12 kB / 2.532 GB, free: 13.35 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/5.136, allocations: 0 / 2.532 GB, free: 13.35 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/5.136, allocations: 7.891 kB / 2.532 GB, free: 13.34 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/5.139, allocations: 1.862 MB / 2.534 GB, free: 11.43 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/5.139, allocations: 4 kB / 2.534 GB, free: 11.43 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/5.14, allocations: 167.8 kB / 2.534 GB, free: 11.27 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/5.141, allocations: 84.77 kB / 2.534 GB, free: 11.18 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/5.141, allocations: 19.98 kB / 2.534 GB, free: 11.16 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/5.142, allocations: 1.48 MB / 2.536 GB, free: 9.555 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.142, allocations: 3.938 kB / 2.536 GB, free: 9.551 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001717/5.144, allocations: 0.9064 MB / 2.537 GB, free: 8.621 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001788/5.146, allocations: 1.321 MB / 2.538 GB, free: 7.277 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/5.146, allocations: 295.7 kB / 2.538 GB, free: 6.969 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/5.146, allocations: 11.98 kB / 2.538 GB, free: 6.957 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/5.147, allocations: 51.95 kB / 2.538 GB, free: 6.906 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/5.147, allocations: 52.69 kB / 2.538 GB, free: 6.855 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/5.147, allocations: 35.98 kB / 2.538 GB, free: 6.82 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006448/5.148, allocations: 435.1 kB / 2.539 GB, free: 6.391 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002402/5.15, allocations: 454.8 kB / 2.539 GB, free: 5.945 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * 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.002062/5.152, allocations: 1.076 MB / 2.54 GB, free: 4.957 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001434/5.154, allocations: 0.7059 MB / 2.541 GB, free: 4.238 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/5.154, allocations: 0 / 2.541 GB, free: 4.238 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007422/5.154, allocations: 464.6 kB / 2.541 GB, free: 3.777 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/5.156, allocations: 222.1 kB / 2.542 GB, free: 3.574 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/5.16, allocations: 1.456 MB / 2.543 GB, free: 2.086 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009088/5.161, allocations: 1.166 MB / 2.544 GB, free: 0.8945 MB / 0.6982 GB Notification: Performance of SimCode: time 1.573e-06/5.161, allocations: 0 / 2.544 GB, free: 0.8945 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)