Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",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.7443/0.7443, allocations: 141.8 MB / 149.1 MB, free: 3.742 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.001204/0.001204, allocations: 188.7 kB / 181.9 MB, free: 15.51 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.36/1.36, allocations: 221.4 MB / 436 MB, free: 8.785 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.0009606/0.0009605, allocations: 98.66 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.002011, allocations: 281 kB / 0.5885 GB, free: 11.71 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.212/0.2141, allocations: 89.63 MB / 0.676 GB, free: 2.004 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.6733, allocations: 82.76 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.8072, allocations: 119.1 MB / 0.8731 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.8075, allocations: 83.94 kB / 0.8732 GB, free: 8.973 MB / 0.5419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.06607/0.8736, allocations: 20.91 MB / 0.8936 GB, free: 4.035 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8737, allocations: 8 kB / 0.8936 GB, free: 4.027 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.8766, allocations: 486.8 kB / 0.8941 GB, free: 3.551 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.8775, allocations: 410.5 kB / 0.8945 GB, free: 3.109 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.8777, allocations: 183.2 kB / 0.8947 GB, free: 2.891 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.8778, allocations: 28 kB / 0.8947 GB, free: 2.863 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/0.8792, allocations: 0.7047 MB / 0.8954 GB, free: 2.16 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.8805, allocations: 0.5758 MB / 0.8959 GB, free: 1.562 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.8805, allocations: 0 / 0.8959 GB, free: 1.562 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.8806, allocations: 3.938 kB / 0.8959 GB, free: 1.559 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.8806, allocations: 8 kB / 0.896 GB, free: 1.551 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.8855, allocations: 2.378 MB / 0.8983 GB, free: 14.95 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.8878, allocations: 0.8555 MB / 0.8991 GB, free: 14.08 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.8884, allocations: 342.7 kB / 0.8994 GB, free: 13.74 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.8904, allocations: 1.773 MB / 0.9012 GB, free: 11.58 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006815/0.8911, allocations: 415 kB / 0.9016 GB, free: 11.16 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=67): time 2.835e-06/0.8911, allocations: 0 / 0.9016 GB, free: 11.16 MB / 0.5732 GB Notification: Performance of matching and sorting (n=67): time 0.01203/0.9031, allocations: 2.068 MB / 0.9036 GB, free: 9.082 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.9033, allocations: 137.2 kB / 0.9037 GB, free: 8.914 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.9038, allocations: 327.4 kB / 0.904 GB, free: 8.59 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/0.9039, allocations: 25.7 kB / 0.9041 GB, free: 8.559 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.904, allocations: 177 kB / 0.9042 GB, free: 8.383 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.9043, allocations: 212.8 kB / 0.9044 GB, free: 8.172 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.9043, allocations: 0 / 0.9044 GB, free: 8.172 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9045, allocations: 354.8 kB / 0.9048 GB, free: 7.816 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.9051, allocations: 293.2 kB / 0.905 GB, free: 7.531 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.9057, allocations: 369.2 kB / 0.9054 GB, free: 7.156 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.9169, allocations: 1.701 MB / 0.9071 GB, free: 5.457 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.9169, allocations: 0 / 0.9071 GB, free: 5.457 MB / 0.5732 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.01334/0.9303, allocations: 2.169 MB / 0.9092 GB, free: 3.277 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.9303, allocations: 8 kB / 0.9092 GB, free: 3.27 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.9304, allocations: 4 kB / 0.9092 GB, free: 3.266 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.9304, allocations: 0 / 0.9092 GB, free: 3.266 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.9317, allocations: 211.6 kB / 0.9094 GB, free: 3.059 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.9317, allocations: 0 / 0.9094 GB, free: 3.059 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.933, allocations: 147.3 kB / 0.9095 GB, free: 2.914 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.9332, allocations: 31.97 kB / 0.9096 GB, free: 2.883 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002574/0.9334, allocations: 116.9 kB / 0.9097 GB, free: 2.762 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.9336, allocations: 47.44 kB / 0.9097 GB, free: 2.715 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.9463, allocations: 2.4 MB / 0.9121 GB, free: 324 kB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.9463, allocations: 12 kB / 0.9121 GB, free: 312 kB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.9464, allocations: 0 / 0.9121 GB, free: 312 kB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.9464, allocations: 3.984 kB / 0.9121 GB, free: 308 kB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2893/1.236, allocations: 3.063 MB / 0.9151 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.236, allocations: 0 / 0.9151 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.237, allocations: 219.1 kB / 0.9153 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/1.237, allocations: 3.938 kB / 0.9153 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/1.237, allocations: 10.97 kB / 0.9153 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/1.237, allocations: 7.766 kB / 0.9153 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.237, allocations: 3.688 kB / 0.9153 GB, free: 185.4 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01077/1.248, allocations: 2.265 MB / 0.9175 GB, free: 185.2 MB / 0.5732 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0107/1.259, allocations: 2.646 MB / 0.9201 GB, free: 184.7 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/1.259, allocations: 244.5 kB / 0.9203 GB, free: 184.6 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.259, allocations: 3.688 kB / 0.9203 GB, free: 184.6 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/1.26, allocations: 87.2 kB / 0.9204 GB, free: 184.6 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.26, allocations: 53.64 kB / 0.9205 GB, free: 184.6 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/1.26, allocations: 32.48 kB / 0.9205 GB, free: 184.6 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.0002773/1.26, allocations: 248.1 kB / 0.9207 GB, free: 184.5 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.001433/1.262, allocations: 278.6 kB / 0.921 GB, free: 184.5 MB / 0.5732 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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 93 * 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.0008909/1.263, allocations: 454.8 kB / 0.9214 GB, free: 184.4 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.264, allocations: 0.7503 MB / 0.9222 GB, free: 184.4 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.264, allocations: 1.125 kB / 0.9222 GB, free: 184.4 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/1.265, allocations: 447 kB / 0.9226 GB, free: 184.4 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/1.265, allocations: 24.75 kB / 0.9226 GB, free: 184.4 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.267, allocations: 0.8569 MB / 0.9235 GB, free: 184.2 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/1.267, allocations: 0.975 MB / 0.9244 GB, free: 183.5 MB / 0.5732 GB Notification: Performance of SimCode: time 2.51e-07/1.267, allocations: 0 / 0.9244 GB, free: 183.5 MB / 0.5732 GB (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)