Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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/Buildings 10.0.0-master/package.mo): time 1.794/1.794, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 177.2 kB / 490.8 MB, free: 1.965 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 72.81 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4264/0.4273, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.6077, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/1.114, allocations: 165.2 MB / 1.373 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.115, allocations: 87.95 kB / 1.373 GB, free: 17.15 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.06445/1.179, allocations: 30.52 MB / 1.403 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/1.179, allocations: 8 kB / 1.403 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.181, allocations: 179.1 kB / 1.403 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.181, allocations: 399.3 kB / 1.403 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.181, allocations: 16 kB / 1.404 GB, free: 21.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/1.181, allocations: 16 kB / 1.404 GB, free: 21.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004852/1.182, allocations: 368 kB / 1.404 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/1.182, allocations: 0.6489 MB / 1.405 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.182, allocations: 7.938 kB / 1.405 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.182, allocations: 8 kB / 1.405 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/1.182, allocations: 47.83 kB / 1.405 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/1.185, allocations: 3.708 MB / 1.408 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/1.185, allocations: 423.8 kB / 1.409 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/1.186, allocations: 179.6 kB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.186, allocations: 7.938 kB / 1.409 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/1.186, allocations: 44.86 kB / 1.409 GB, free: 16.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/1.186, allocations: 0 / 1.409 GB, free: 16.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001187/1.187, allocations: 0.8118 MB / 1.41 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/1.187, allocations: 106.8 kB / 1.41 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/1.187, allocations: 301.2 kB / 1.41 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/1.187, allocations: 25.7 kB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/1.187, allocations: 239.3 kB / 1.41 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/1.187, allocations: 118.6 kB / 1.41 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/1.187, allocations: 0 / 1.41 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.187, allocations: 344.9 kB / 1.411 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.188, allocations: 164.5 kB / 1.411 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/1.188, allocations: 340.6 kB / 1.411 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/1.188, allocations: 218.8 kB / 1.411 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.188, allocations: 4 kB / 1.411 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007654/1.189, allocations: 0.5986 MB / 1.412 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.189, allocations: 15.75 kB / 1.412 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.189, allocations: 4 kB / 1.412 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/1.189, allocations: 100.6 kB / 1.412 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/1.189, allocations: 99.56 kB / 1.412 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/1.192, allocations: 3.851 MB / 1.416 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.192, allocations: 16.14 kB / 1.416 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.192, allocations: 31.05 kB / 1.416 GB, free: 9.516 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.193, allocations: 116.8 kB / 1.416 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.193, allocations: 47.44 kB / 1.416 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/1.193, allocations: 0.5005 MB / 1.417 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.193, allocations: 4 kB / 1.417 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.193, allocations: 0 / 1.417 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.193, allocations: 11.92 kB / 1.417 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/1.195, allocations: 1.202 MB / 1.418 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.195, allocations: 4 kB / 1.418 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.195, allocations: 55.91 kB / 1.418 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/1.195, allocations: 93.91 kB / 1.418 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.195, allocations: 4 kB / 1.418 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/1.198, allocations: 3.848 MB / 1.422 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.198, allocations: 7.938 kB / 1.422 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008201/1.199, allocations: 0.8854 MB / 1.423 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008914/1.2, allocations: 1.273 MB / 1.424 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/1.2, allocations: 153.1 kB / 1.424 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/1.2, allocations: 4 kB / 1.424 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/1.2, allocations: 15.92 kB / 1.424 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.2, allocations: 27.12 kB / 1.424 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.2, allocations: 11.19 kB / 1.424 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001884/1.2, allocations: 233.8 kB / 1.424 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001204/1.202, allocations: 108 kB / 1.424 GB, free: 0.9766 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/1.202, allocations: 120.5 kB / 1.424 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009479/1.203, allocations: 0.7356 MB / 1.425 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.203, allocations: 4 kB / 1.425 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/1.203, allocations: 0.5106 MB / 1.426 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/1.204, allocations: 108.1 kB / 1.426 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.205, allocations: 0.6493 MB / 1.426 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/1.206, allocations: 0.915 MB / 1.427 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.206, allocations: 0.5625 kB / 1.427 GB, free: 14.06 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat