Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 102.5 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001834, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.943/2.943, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.691/2.691, allocations: 292.6 MB / 0.5498 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006057, allocations: 12.28 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3823, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.01101/0.3934, allocations: 4.201 MB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.203/1.597, allocations: 127.6 MB / 0.916 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.598, allocations: 17.53 kB / 0.916 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000699/1.599, allocations: 87.98 kB / 0.9161 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003272/1.602, allocations: 498.7 kB / 0.9165 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/1.606, allocations: 0.6888 MB / 0.9172 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004004/1.61, allocations: 1.024 MB / 0.9182 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/1.612, allocations: 0.6479 MB / 0.9188 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/1.614, allocations: 448.7 kB / 0.9193 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.615, allocations: 454.4 kB / 0.9197 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.615, allocations: 38.91 kB / 0.9197 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/1.617, allocations: 358.7 kB / 0.9201 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/1.617, allocations: 262 kB / 0.9203 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000862/1.618, allocations: 256 kB / 0.9206 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004534/1.623, allocations: 1.579 MB / 0.9221 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/1.623, allocations: 0 / 0.9221 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/1.623, allocations: 0 / 0.9221 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.724e-05/1.623, allocations: 0 / 0.9221 GB, free: 21.17 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.006115/1.629, allocations: 1.455 MB / 0.9235 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/1.629, allocations: 9.516 kB / 0.9235 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006088/1.63, allocations: 186.4 kB / 0.9237 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.645, allocations: 1.568 MB / 0.9253 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/1.65, allocations: 0.9444 MB / 0.9262 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/1.65, allocations: 99.89 kB / 0.9263 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006355/1.651, allocations: 121.2 kB / 0.9264 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/1.662, allocations: 2.209 MB / 0.9285 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/1.662, allocations: 0 / 0.9285 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/1.663, allocations: 49.44 kB / 0.9286 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/1.663, allocations: 30.84 kB / 0.9286 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/1.68, allocations: 3.122 MB / 0.9317 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/1.701, allocations: 4.7 MB / 0.9363 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.716, allocations: 3.036 MB / 0.9392 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.717, allocations: 0.602 MB / 0.9398 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006784/1.724, allocations: 1.448 MB / 0.9412 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=121): time 8.596e-06/1.724, allocations: 0 / 0.9412 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121): time 0.02059/1.745, allocations: 3.773 MB / 0.9449 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002489/1.745, allocations: 193.3 kB / 0.9451 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.747, allocations: 0.738 MB / 0.9458 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006653/1.748, allocations: 47.73 kB / 0.9459 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007854/1.749, allocations: 496.4 kB / 0.9463 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008575/1.75, allocations: 403.5 kB / 0.9467 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.75, allocations: 23.16 kB / 0.9467 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.75, allocations: 343.9 kB / 0.9471 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005271/1.755, allocations: 1.097 MB / 0.9481 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005715/1.761, allocations: 1.238 MB / 0.9494 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/1.766, allocations: 1.084 MB / 0.9504 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.766, allocations: 3.031 kB / 0.9504 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01537/1.782, allocations: 2.532 MB / 0.9529 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/1.782, allocations: 8.094 kB / 0.9529 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.782, allocations: 1.594 kB / 0.9529 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/1.783, allocations: 82.09 kB / 0.953 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/1.788, allocations: 466.6 kB / 0.9534 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/1.793, allocations: 1.554 MB / 0.9549 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/1.797, allocations: 324.2 kB / 0.9552 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/1.798, allocations: 52.31 kB / 0.9553 GB, free: 13.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.002101/1.8, allocations: 332.2 kB / 0.9556 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000735/1.801, allocations: 108 kB / 0.9557 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/1.817, allocations: 2.976 MB / 0.9586 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.817, allocations: 13.94 kB / 0.9586 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.817, allocations: 0 / 0.9586 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/1.818, allocations: 11.97 kB / 0.9586 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/1.836, allocations: 4.79 MB / 0.9633 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.836, allocations: 3.141 kB / 0.9633 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/1.84, allocations: 465.4 kB / 0.9638 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007695/1.841, allocations: 91.59 kB / 0.9639 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/1.841, allocations: 42.67 kB / 0.9639 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/1.844, allocations: 1.569 MB / 0.9654 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.844, allocations: 4.062 kB / 0.9654 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.859, allocations: 2.722 MB / 0.9681 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.861, allocations: 461.9 kB / 0.9685 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/1.862, allocations: 21.94 kB / 0.9686 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/1.865, allocations: 285.9 kB / 0.9688 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.866, allocations: 92.42 kB / 0.9689 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.866, allocations: 55.11 kB / 0.969 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001379/1.867, allocations: 0.5309 MB / 0.9695 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.895e-06/1.867, allocations: 1.859 kB / 0.9695 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002529/1.87, allocations: 445.5 kB / 0.9699 GB, free: 8 MB / 0.7325 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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.01738/1.887, allocations: 3.75 MB / 0.9736 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.902, allocations: 2.6 MB / 0.9761 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/1.903, allocations: 0 / 0.9761 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007874/1.91, allocations: 1.452 MB / 0.9775 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.914, allocations: 269.1 kB / 0.9778 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/1.963, allocations: 10.44 MB / 0.988 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.965, allocations: 1.179 MB / 0.9891 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004277/1.969, allocations: 467.2 kB / 0.9896 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.971, allocations: 0.5274 MB / 0.9901 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 4.198e-06/1.971, allocations: 0 / 0.9901 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/3.239, allocations: 29.87 MB / 1.019 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005365/3.24, allocations: 261.2 kB / 1.02 GB, free: 2.098 MB / 0.7637 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:2: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.c:7: In file included from ./Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_functions.o] Error 1