Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.747/1.747, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 192.7 kB / 490.8 MB, free: 11.22 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.088/1.088, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008484, allocations: 94.81 kB / 0.9264 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2293/0.2301, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.7371, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.8883, allocations: 178.5 MB / 1.386 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.8886, allocations: 92.94 kB / 1.386 GB, free: 13.01 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.04118/0.9297, allocations: 20.03 MB / 1.406 GB, free: 8.895 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.9298, allocations: 8.625 kB / 1.406 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/0.9306, allocations: 100.2 kB / 1.406 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.9309, allocations: 252.6 kB / 1.406 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.9309, allocations: 4 kB / 1.406 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.9309, allocations: 12 kB / 1.406 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004057/0.9314, allocations: 268.7 kB / 1.406 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.9318, allocations: 340.1 kB / 1.407 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9319, allocations: 4.969 kB / 1.407 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.9319, allocations: 6.312 kB / 1.407 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.9319, allocations: 27.77 kB / 1.407 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.9336, allocations: 1.68 MB / 1.408 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.934, allocations: 278 kB / 1.409 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9342, allocations: 170.2 kB / 1.409 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.9343, allocations: 90.66 kB / 1.409 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.9344, allocations: 43.45 kB / 1.409 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.9344, allocations: 0.8125 kB / 1.409 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.002862/0.9372, allocations: 1.097 MB / 1.41 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.9373, allocations: 82.11 kB / 1.41 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.9374, allocations: 151.2 kB / 1.41 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.9375, allocations: 26.42 kB / 1.41 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.9375, allocations: 136.4 kB / 1.41 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.9376, allocations: 123.1 kB / 1.41 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.9377, allocations: 0 / 1.41 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.9377, allocations: 335.7 kB / 1.411 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.938, allocations: 220.4 kB / 1.411 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.9384, allocations: 307.2 kB / 1.411 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.939, allocations: 306.2 kB / 1.412 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.939, allocations: 0 / 1.412 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001086/0.9401, allocations: 0.6246 MB / 1.412 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.9403, allocations: 0.8667 MB / 1.413 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.9403, allocations: 7.906 kB / 1.413 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9404, allocations: 4 kB / 1.413 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.9413, allocations: 155.7 kB / 1.413 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9414, allocations: 4 kB / 1.413 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.9417, allocations: 39.95 kB / 1.413 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.9418, allocations: 12 kB / 1.413 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.9418, allocations: 7.938 kB / 1.413 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008644/0.9427, allocations: 471.7 kB / 1.414 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9427, allocations: 4 kB / 1.414 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/0.9427, allocations: 4 kB / 1.414 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.9435, allocations: 136.1 kB / 1.414 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9435, allocations: 4 kB / 1.414 GB, free: 208 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.9438, allocations: 29.47 kB / 1.414 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.9438, allocations: 19.98 kB / 1.414 GB, free: 160 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001041/0.9439, allocations: 120.7 kB / 1.414 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.944, allocations: 21.97 kB / 1.414 GB, free: 12 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.9452, allocations: 0.6452 MB / 1.415 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.9452, allocations: 4 kB / 1.415 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9452, allocations: 0 / 1.415 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9452, allocations: 0 / 1.415 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.9471, allocations: 1.282 MB / 1.416 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9471, allocations: 1.75 kB / 1.416 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/0.9477, allocations: 131.8 kB / 1.416 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.9478, allocations: 7.906 kB / 1.416 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.9478, allocations: 5.312 kB / 1.416 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9478, allocations: 4 kB / 1.416 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9478, allocations: 11.92 kB / 1.416 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008846/0.9487, allocations: 0.775 MB / 1.417 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000942/0.9497, allocations: 1.159 MB / 1.418 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.9498, allocations: 140.8 kB / 1.418 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.9499, allocations: 4 kB / 1.418 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.9502, allocations: 35.95 kB / 1.418 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.9503, allocations: 32.88 kB / 1.418 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.9503, allocations: 12 kB / 1.418 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.945e-05/0.9504, allocations: 135.1 kB / 1.418 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00175/0.9522, allocations: 155.9 kB / 1.418 GB, free: 11.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0002085/0.9524, allocations: 154.9 kB / 1.419 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009442/0.9534, allocations: 0.7107 MB / 1.419 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9534, allocations: 2.344 kB / 1.419 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.9537, allocations: 237.5 kB / 1.419 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.954, allocations: 39.59 kB / 1.42 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.9551, allocations: 0.5837 MB / 1.42 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.9557, allocations: 0.8353 MB / 1.421 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of SimCode: time 3.2e-07/0.9557, allocations: 0 / 1.421 GB, free: 8.582 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat